protected function SetValueCommand::configure in Config Pages 8.3
Same name and namespace in other branches
- 8.2 src/Command/SetValueCommand.php \Drupal\config_pages\Command\SetValueCommand::configure()
File
- src/
Command/ SetValueCommand.php, line 42
Class
- SetValueCommand
- Class SetValueCommand.
Namespace
Drupal\config_pages\CommandCode
protected function configure() {
$this
->setName('config_pages:set_value')
->setDescription($this
->trans('commands.config_pages.set_value.description'))
->addArgument('bundle', InputArgument::REQUIRED, $this
->trans('commands.user.login.url.options.bundle'), NULL)
->addArgument('field_name', InputArgument::REQUIRED, $this
->trans('commands.user.login.url.options.field_name'), NULL)
->addArgument('value', InputArgument::REQUIRED, $this
->trans('commands.user.login.url.options.value'), NULL)
->addArgument('context', InputArgument::OPTIONAL, $this
->trans('commands.user.login.url.options.context'), NULL)
->setAliases([
'cpsfv',
]);
}