public function AccessTokenListBuilder::buildHeader in Access unpublished 8
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()
1 call to AccessTokenListBuilder::buildHeader()
- EntityFormAccessTokenListBuilder::buildHeader in src/
EntityFormAccessTokenListBuilder.php - Builds the header row for the entity listing.
1 method overrides AccessTokenListBuilder::buildHeader()
- EntityFormAccessTokenListBuilder::buildHeader in src/
EntityFormAccessTokenListBuilder.php - Builds the header row for the entity listing.
File
- src/
AccessTokenListBuilder.php, line 72
Class
- AccessTokenListBuilder
- Defines a class to build a listing of access token entities.
Namespace
Drupal\access_unpublishedCode
public function buildHeader() {
// Enable language column and filter if multiple languages are added.
$header = [
'expire_date' => $this
->t('Expire date'),
'host' => $this
->t('Parent entity'),
];
return $header + parent::buildHeader();
}