public function PoolListBuilder::buildHeader in CMS Content Sync 8
Same name and namespace in other branches
- 2.1.x src/Controller/PoolListBuilder.php \Drupal\cms_content_sync\Controller\PoolListBuilder::buildHeader()
- 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\ControllerCode
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();
}