public function AgreementListBuilder::buildHeader in Agreement 3.0.x
Same name and namespace in other branches
- 8.2 src/Entity/AgreementListBuilder.php \Drupal\agreement\Entity\AgreementListBuilder::buildHeader()
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/ AgreementListBuilder.php, line 17
Class
- AgreementListBuilder
- Provides simple operations list.
Namespace
Drupal\agreement\EntityCode
public function buildHeader() {
return [
'label' => $this
->t('Name'),
'path' => $this
->t('Agreement page'),
'roles' => $this
->t('Roles'),
'visibility' => $this
->t('Visibility Setting'),
] + parent::buildHeader();
}