UploadValidatorExtension
extends AbstractTypeExtension
in package
Tags
Table of Contents
- $translationDomain : mixed
- $translator : mixed
- __construct() : mixed
- buildForm() : mixed
- Builds the form.
- buildView() : mixed
- Builds the view.
- configureOptions() : mixed
- finishView() : mixed
- Finishes the view.
- getExtendedType() : string
- Returns the name of the type being extended.
- getExtendedTypes() : iteratable<string|int, mixed>
- {@inheritdoc}
Properties
$translationDomain
private
mixed
$translationDomain
$translator
private
mixed
$translator
Methods
__construct()
public
__construct(TranslatorInterface $translator[, string $translationDomain = null ]) : mixed
Parameters
- $translator : TranslatorInterface
- $translationDomain : string = null
Return values
mixed —buildForm()
Builds the form.
public
buildForm(FormBuilderInterface $builder, array<string|int, mixed> $options) : mixed
Parameters
- $builder : FormBuilderInterface
- $options : array<string|int, mixed>
Return values
mixed —buildView()
Builds the view.
public
buildView(FormView $view, FormInterface $form, array<string|int, mixed> $options) : mixed
Parameters
- $view : FormView
- $form : FormInterface
- $options : array<string|int, mixed>
Return values
mixed —configureOptions()
public
configureOptions(OptionsResolver $resolver) : mixed
Parameters
- $resolver : OptionsResolver
Return values
mixed —finishView()
Finishes the view.
public
finishView(FormView $view, FormInterface $form, array<string|int, mixed> $options) : mixed
Parameters
- $view : FormView
- $form : FormInterface
- $options : array<string|int, mixed>
Return values
mixed —getExtendedType()
Returns the name of the type being extended.
public
getExtendedType() : string
Tags
Return values
string —The name of the type being extended
getExtendedTypes()
{@inheritdoc}
public
static getExtendedTypes() : iteratable<string|int, mixed>