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