class PossibleWatermarkPositionsExtension extends Twig_Extension

Class PossibleWatermarkPositionsExtension is injected as alligator.possible_watermark_positions_extension service. PossibleWatermarkPositionsExtension handles the logic and provides necessary data for managed entity in twig.

Methods

string
getName()

Returns the name of the extension.

getFunctions()

{@inheritdoc}

array
getPossibleTextWatermarkPositionsForHTML()

Get possible watermark positions for html

array
getPossibleImageWatermarkPositionsForHTML()

Get possible image watermark positions for html

Details

at line 25
string getName()

Returns the name of the extension.

Return Value

string The extension name

at line 33
getFunctions()

{@inheritdoc}

at line 46
array getPossibleTextWatermarkPositionsForHTML()

Get possible watermark positions for html

Return Value

array

at line 56
array getPossibleImageWatermarkPositionsForHTML()

Get possible image watermark positions for html

Return Value

array