You are here

public function FlowListBuilder::buildHeader in CMS Content Sync 2.1.x

Same name and namespace in other branches
  1. 8 src/Controller/FlowListBuilder.php \Drupal\cms_content_sync\Controller\FlowListBuilder::buildHeader()
  2. 2.0.x src/Controller/FlowListBuilder.php \Drupal\cms_content_sync\Controller\FlowListBuilder::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/FlowListBuilder.php, line 52

Class

FlowListBuilder
Provides a listing of Flow.

Namespace

Drupal\cms_content_sync\Controller

Code

public function buildHeader() {
  $header['name'] = $this
    ->t('Synchronization');
  $header['id'] = $this
    ->t('Machine name');
  $header['status'] = $this
    ->t('Status');
  return $header + parent::buildHeader();
}