CreateTextFieldListener
final class CreateTextFieldListener (View source)
Traits
A copy of \Drupal\Core\DependencyInjection\AutowireTrait with first params' type hint changed.
Stores input, output and IO objects for easy access in commands.
Properties
| protected InputInterface | $input | from IoTrait | |
| protected OutputInterface | $output | from IoTrait | |
| protected DrushStyle | $io | from IoTrait |
Methods
static AutowireTrait
create(ContainerInterface $container)
Instantiates a new instance of the implementing class using autowiring.
from
AutowireTrait
__construct(EntityTypeManagerInterface $entityTypeManager, FieldTypePluginManagerInterface $fieldTypePluginManager)
No description
void
void
onConsoleCommand(ConsoleCommandEvent $event)
No description
void
void
bool
hasAllowedFormats(string|null $fieldType = null)
No description
array
askAllowedFormats()
Ask for the allowed formats. Only used in case the command is run interactively.
Details
static AutowireTrait
create(ContainerInterface $container)
Instantiates a new instance of the implementing class using autowiring.
DrushStyle
setIo(InputInterface $input, OutputInterface $output)
No description
DrushStyle
io()
No description
protected InputInterface
input()
No description
protected OutputInterface
output()
No description
protected void
ensureIo()
No description
__construct(EntityTypeManagerInterface $entityTypeManager, FieldTypePluginManagerInterface $fieldTypePluginManager)
No description
void
onConsoleDefinitionEvent(ConsoleDefinitionsEvent $event)
No description
void
onConsoleCommand(ConsoleCommandEvent $event)
No description
void
onFieldConfigValues(FieldCreateFieldConfigValuesEvent $event)
No description
void
onInputOptions(FieldCreateInputOptionsEvent $event)
No description
protected bool
hasAllowedFormats(string|null $fieldType = null)
No description
protected array
askAllowedFormats()
Ask for the allowed formats. Only used in case the command is run interactively.