public function AmpMetadataListBuilder::buildHeader in Accelerated Mobile Pages (AMP) 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()
File
- src/
AmpMetadataListBuilder.php, line 98
Class
- AmpMetadataListBuilder
- Provides a listing of AMP Metadata entities.
Namespace
Drupal\ampCode
public function buildHeader() {
$header['label'] = $this
->t('AMP Metadata type');
return $header + parent::buildHeader();
}