protected function PullCommand::configure in Entity Share 8
Same name and namespace in other branches
- 8.2 modules/entity_share_client/src/Command/PullCommand.php \Drupal\entity_share_client\Command\PullCommand::configure()
File
- modules/
entity_share_client/ src/ Command/ PullCommand.php, line 112
Class
- PullCommand
- Class PullCommand.
Namespace
Drupal\entity_share_client\CommandCode
protected function configure() {
$this
->setName('entity_share_client:pull')
->setDescription($this
->trans('commands.entity_share_client.pull.description'))
->addArgument('remote_id', InputArgument::REQUIRED, $this
->trans('commands.entity_share_client.pull.arguments.remote_id'))
->addArgument('channel_id', InputArgument::REQUIRED, $this
->trans('commands.entity_share_client.pull.arguments.channel_id'))
->addOption('update', 'u', InputOption::VALUE_OPTIONAL, $this
->trans('commands.entity_share_client.pull.options.update'), FALSE);
}