You are here

public function DomainContentController::editorsList in Domain Access 8

Generates a list of editors by domain.

1 string reference to 'DomainContentController::editorsList'
domain_content.routing.yml in domain_content/domain_content.routing.yml
domain_content/domain_content.routing.yml

File

domain_content/src/Controller/DomainContentController.php, line 73

Class

DomainContentController
Controller routines domain content pages.

Namespace

Drupal\domain_content\Controller

Code

public function editorsList() {
  $options = [
    'type' => 'user',
    'column_header' => $this
      ->t('Editor count'),
    'permission' => 'assign domain editors',
    'all_permission' => 'assign editors to any domain',
    'path' => 'domain-editors',
  ];
  return $this
    ->buildList($options);
}