FormExtension

Extends \Twig\Extension\AbstractExtension

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

package

App\Twig

Methods

Twig filter extension function to return formatted form buttons

formatButtons(string $route, array $options, null $id = null) : string

Arguments

$route

string

$options

array

$id

null

Response

string

Gets the array of Twig filters being registered

getFunctions() : array

Response

array

Gets Name of Twig Extension being registered

getName() : string

Response

string