public function ApiDocListBuilder::buildHeader in Apigee API Catalog 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/
Entity/ ListBuilder/ ApiDocListBuilder.php, line 65
Class
- ApiDocListBuilder
- Defines a class to build a listing of API Doc entities.
Namespace
Drupal\apigee_api_catalog\Entity\ListBuilderCode
public function buildHeader() {
$header['id'] = $this
->t('ID');
$header['name'] = $this
->t('Name');
return $header + parent::buildHeader();
}