You are here

protected function GetValueCommand::configure in Config Pages 8.3

Same name and namespace in other branches
  1. 8.2 src/Command/GetValueCommand.php \Drupal\config_pages\Command\GetValueCommand::configure()

File

src/Command/GetValueCommand.php, line 39

Class

GetValueCommand
Class GetValueCommand.

Namespace

Drupal\config_pages\Command

Code

protected function configure() {
  $this
    ->setName('config_pages:get_value')
    ->setDescription($this
    ->trans('commands.config_pages.get_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('context', InputArgument::OPTIONAL, $this
    ->trans('commands.user.login.url.options.context'), NULL)
    ->setAliases([
    'cpgfv',
  ]);
}