function DevelTokenCommand::execute
File
-
src/
Drush/ Commands/ DevelTokenCommand.php, line 40
Class
- DevelTokenCommand
- #[AsCommand(name: self::NAME, description: 'List available tokens.', aliases: [ 'token', 'devel-token', ])] #[CLI\Formatter(returnType: RowsOfFields::class, defaultFormatter: 'table')] #[CLI\FieldLabels(labels: [ 'group' => 'Group', 'token' =>…
Namespace
Drupal\devel\Drush\CommandsCode
public function execute(InputInterface $input, OutputInterface $output) : int {
$data = $this->doExecute($input, $output);
$this->writeFormattedOutput($input, $output, $data);
return Command::SUCCESS;
}