You are here

public function DomainAccessCommands::initDomainInfo in Domain Access 8

Registers additional information to domain:info.

@hook init domain:info

File

domain_access/src/Commands/DomainAccessCommands.php, line 26

Class

DomainAccessCommands
Drush commands for the domain access module.

Namespace

Drupal\domain_access\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_access_entities: Domain access entities';
}