public function DataPolicyListBuilder::buildHeader in Data Policy 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/
DataPolicyListBuilder.php, line 19
Class
- DataPolicyListBuilder
- Defines a class to build a listing of Data policy entities.
Namespace
Drupal\data_policyCode
public function buildHeader() {
$header['name'] = $this
->t('Name');
$header['id'] = $this
->t('Data policy ID');
$header['revisions'] = $this
->t('Revisions');
return $header + parent::buildHeader();
}