LateDataCollectorInterface

interface LateDataCollectorInterface LateDataCollectorInterface. Methods lateCollect() Collects data as late as possible. Details lateCollect() Collects data as late as possible.

LanguageValidator

class LanguageValidator extends ConstraintValidator Validates whether a value is a valid language code. Constants PRETTY_DATE Whether to format {@link \DateTime} objects as RFC-3339 dates ("Y-m-d H:i:s"). OBJECT_TO_STRING Whether to cast objects with a "__toString()" method to strings. Methods initialize(ExecutionContextInterface $context) Initializes the constraint validator. from ConstraintValidator validate(mixed $value, Constraint $constraint) Checks if the passed value i

LanguageType::getParent()

string|null getParent() Returns the name of the parent type. Return Value string|null The name of the parent type if any, null otherwise

LanguageType::getBlockPrefix()

string getBlockPrefix() Returns the prefix of the template block name for this type. The block prefix defaults to the underscored short class name with the "Type" suffix removed (e.g. "UserProfileType" => "user_profile"). Return Value string The prefix of the template block name

LanguageType::configureOptions()

configureOptions(OptionsResolver $resolver) Configures the options for this type. Parameters OptionsResolver $resolver The resolver for the options

LanguageType

class LanguageType extends AbstractType Methods buildForm(FormBuilderInterface $builder, array $options) Builds the form. from AbstractType buildView(FormView $view, FormInterface $form, array $options) Builds the form view. from AbstractType finishView(FormView $view, FormInterface $form, array $options) Finishes the form view. from AbstractType configureOptions(OptionsResolver $resolver) Configures the options for this type. string getBlockPrefix() Returns the prefix of

LanguageDataProvider::getNames()

getNames($displayLocale = null) Parameters $displayLocale

LanguageDataProvider::getName()

getName($language, $displayLocale = null) Parameters $language $displayLocale

LanguageDataProvider::getLanguages()

getLanguages()

LanguageDataProvider::getAlpha3Code()

getAlpha3Code($language) Parameters $language