public function ConfigPagesListBuilder::buildHeader in Config Pages 8
Same name and namespace in other branches
- 8.3 src/ConfigPagesListBuilder.php \Drupal\config_pages\ConfigPagesListBuilder::buildHeader()
- 8.2 src/ConfigPagesListBuilder.php \Drupal\config_pages\ConfigPagesListBuilder::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/
ConfigPagesListBuilder.php, line 50
Class
- ConfigPagesListBuilder
- Defines a class to build a listing of custom config_pages entities.
Namespace
Drupal\config_pagesCode
public function buildHeader() {
$header['label'] = t('Name');
$header['context'] = t('Context');
return $header + parent::buildHeader();
}