You are here

public function DomainContentController::contentList in Domain Access 8

Generates a list of content by domain.

1 string reference to 'DomainContentController::contentList'
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 58

Class

DomainContentController
Controller routines domain content pages.

Namespace

Drupal\domain_content\Controller

Code

public function contentList() {
  $options = [
    'type' => 'node',
    'column_header' => $this
      ->t('Content count'),
    'permission' => 'publish to any assigned domain',
    'all_permission' => 'publish to any domain',
    'path' => 'domain-content',
  ];
  return $this
    ->buildList($options);
}