mediatekformation

FormTypeCsrfExtension extends AbstractTypeExtension
in package

Tags
author

Bernhard Schussek bschussek@gmail.com

Table of Contents

$defaultEnabled  : mixed
$defaultFieldName  : mixed
$defaultTokenManager  : mixed
$serverParams  : mixed
$translationDomain  : mixed
$translator  : mixed
__construct()  : mixed
buildForm()  : mixed
Adds a CSRF field to the form when the CSRF protection is enabled.
buildView()  : mixed
Builds the view.
configureOptions()  : mixed
finishView()  : mixed
Adds a CSRF field to the root form view.
getExtendedType()  : string
Returns the name of the type being extended.
getExtendedTypes()  : iteratable<string|int, mixed>
{@inheritdoc}

Properties

Methods

__construct()

public __construct(CsrfTokenManagerInterface $defaultTokenManager[, bool $defaultEnabled = true ][, string $defaultFieldName = '_token' ][, TranslatorInterface|null $translator = null ][, string $translationDomain = null ][, ServerParams $serverParams = null ]) : mixed
Parameters
$defaultTokenManager : CsrfTokenManagerInterface
$defaultEnabled : bool = true
$defaultFieldName : string = '_token'
$translator : TranslatorInterface|null = null
$translationDomain : string = null
$serverParams : ServerParams = null
Return values
mixed

getExtendedType()

Returns the name of the type being extended.

public getExtendedType() : string
Tags
deprecated

since Symfony 4.2, use getExtendedTypes() instead.

Return values
string

The name of the type being extended

getExtendedTypes()

{@inheritdoc}

public static getExtendedTypes() : iteratable<string|int, mixed>
Return values
iteratable<string|int, mixed>

Search results