class ToolbarDisplay extends AbstractExtension

Twig extension to provide the xhtml code for the toolbar using {{ toolbar_display('TOOLS_TEMPLATE', 'TYPE', 'SIZE[lg|md|sm|xs]', OBJECT_IF_NEEDED) }}

Methods

getFunctions()

No description

string
display(Environment $environment, $template, $type = null, $size = 'md', $object = null, $alignment = 'center')

Returns the xhtml code for the toolbar

Details

at line 22
getFunctions()

at line 40
string display(Environment $environment, $template, $type = null, $size = 'md', $object = null, $alignment = 'center')

Returns the xhtml code for the toolbar

Parameters

Environment $environment
$template
$type
$size
$object
$alignment

Return Value

string