php bin/console debug:form
Display form type information
Usage
debug:form [--show-deprecated] [--format FORMAT] [--] [<class> [<option>]]
Arguments
class The form type class
option The form type option
Options
--show-deprecated Display deprecated options in form types
--format The output format (txt or json)
Help
The debug:form command displays information about form types.
php bin/console debug:form
The command lists all built-in types, services types, type extensions and
guessers currently available.
php bin/console debug:form Symfony\Component\Form\Extension\Core\Type\ChoiceType
php bin/console debug:form ChoiceType
The command lists all defined options that contains the given form type,
as well as their parents and type extensions.
php bin/console debug:form ChoiceType choice_value
Use the --show-deprecated option to display form types with
deprecated options or the deprecated options of the given form type:
php bin/console debug:form --show-deprecated
php bin/console debug:form ChoiceType --show-deprecated
The command displays the definition of the given option name.
php bin/console debug:form --format=json
The command lists everything in a machine readable json format.