function EntityListBuilder::buildHeader
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/Entity/EntityListBuilder.php \Drupal\Core\Entity\EntityListBuilder::buildHeader()
- 8.9.x core/lib/Drupal/Core/Entity/EntityListBuilder.php \Drupal\Core\Entity\EntityListBuilder::buildHeader()
- 11.x core/lib/Drupal/Core/Entity/EntityListBuilder.php \Drupal\Core\Entity\EntityListBuilder::buildHeader()
Builds the header row for the entity listing.
Return value
array A render array structure of header strings.
See also
\Drupal\Core\Entity\EntityListBuilder::render()
6 calls to EntityListBuilder::buildHeader()
- CommentTypeListBuilder::buildHeader in core/
modules/ comment/ src/ CommentTypeListBuilder.php - Builds the header row for the entity listing.
- EntityListBuilder::render in core/
lib/ Drupal/ Core/ Entity/ EntityListBuilder.php - Builds the entity listing as renderable array for table.html.twig.
- EntityTestListBuilder::buildHeader in core/
modules/ system/ tests/ modules/ entity_test/ src/ EntityTestListBuilder.php - Builds the header row for the entity listing.
- ImageStyleListBuilder::buildHeader in core/
modules/ image/ src/ ImageStyleListBuilder.php - Builds the header row for the entity listing.
- PathAliasListBuilder::buildHeader in core/
modules/ path/ src/ PathAliasListBuilder.php - Builds the header row for the entity listing.
6 methods override EntityListBuilder::buildHeader()
- CommentTypeListBuilder::buildHeader in core/
modules/ comment/ src/ CommentTypeListBuilder.php - Builds the header row for the entity listing.
- EntityTestListBuilder::buildHeader in core/
modules/ system/ tests/ modules/ entity_test/ src/ EntityTestListBuilder.php - Builds the header row for the entity listing.
- ImageStyleListBuilder::buildHeader in core/
modules/ image/ src/ ImageStyleListBuilder.php - Builds the header row for the entity listing.
- PathAliasListBuilder::buildHeader in core/
modules/ path/ src/ PathAliasListBuilder.php - Builds the header row for the entity listing.
- UserListBuilder::buildHeader in core/
modules/ user/ src/ UserListBuilder.php - Builds the header row for the entity listing.
File
-
core/
lib/ Drupal/ Core/ Entity/ EntityListBuilder.php, line 199
Class
- EntityListBuilder
- Defines a generic implementation to build a listing of entities.
Namespace
Drupal\Core\EntityCode
public function buildHeader() {
$row['operations'] = $this->t('Operations');
return $row;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.