You are here

public function DomainSourceCommands::initDomainInfo in Domain Access 8

Registers additional information to domain:info.

@hook init domain:info

File

domain_source/src/Commands/DomainSourceCommands.php, line 26

Class

DomainSourceCommands
Drush commands for the domain source module.

Namespace

Drupal\domain_source\Commands

Code

public function initDomainInfo(InputInterface $input, AnnotationData $annotationData) {

  // To add a field label, append to the 'field-labels' item.
  // @TODO: watch https://github.com/consolidation/annotated-command/pull/174
  $annotationData['field-labels'] .= "\n" . 'domain_source_entities: Domain source entities';
}