You are here

public function PoolListBuilder::buildHeader in CMS Content Sync 8

Same name and namespace in other branches
  1. 2.1.x src/Controller/PoolListBuilder.php \Drupal\cms_content_sync\Controller\PoolListBuilder::buildHeader()
  2. 2.0.x src/Controller/PoolListBuilder.php \Drupal\cms_content_sync\Controller\PoolListBuilder::buildHeader()

Builds the header row for the entity listing.

Return value

array A render array structure of header strings.

Overrides EntityListBuilder::buildHeader

See also

\Drupal\Core\Entity\EntityListBuilder::render()

File

src/Controller/PoolListBuilder.php, line 49

Class

PoolListBuilder
Provides a listing of Pool.

Namespace

Drupal\cms_content_sync\Controller

Code

public function buildHeader() {
  $header['name'] = $this
    ->t('Name');
  $header['id'] = $this
    ->t('Machine name');
  $header['backend_url'] = $this
    ->t('Sync Core');
  return $header + parent::buildHeader();
}