Application API Documentation

Directional Consulting

Classes

FormExtension extends AbstractExtension in package

Class FormExtension extends Twig filters for toggling form buttons based on entity view

Table of Contents

formatButtons()  : string
Twig filter extension function to return formatted form buttons
getFunctions()  : array<string|int, mixed>
Gets the array of Twig filters being registered
getName()  : string
Gets Name of Twig Extension being registered

Methods

formatButtons()

Twig filter extension function to return formatted form buttons

public formatButtons(string $route, array<string|int, mixed> $options[, null $id = null ]) : string
Parameters
$route : string
$options : array<string|int, mixed>
$id : null = null
Return values
string

getFunctions()

Gets the array of Twig filters being registered

public getFunctions() : array<string|int, mixed>
Return values
array<string|int, mixed>

getName()

Gets Name of Twig Extension being registered

public getName() : string
Return values
string

        

Search Results

Search results

Found Results