public function ConsentAgreementListBuilder::buildHeader in General Data Protection Regulation 8.2
Same name and namespace in other branches
- 8 modules/gdpr_consent/src/Entity/ConsentAgreementListBuilder.php \Drupal\gdpr_consent\Entity\ConsentAgreementListBuilder::buildHeader()
- 3.0.x modules/gdpr_consent/src/Entity/ConsentAgreementListBuilder.php \Drupal\gdpr_consent\Entity\ConsentAgreementListBuilder::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
- modules/
gdpr_consent/ src/ Entity/ ConsentAgreementListBuilder.php, line 18
Class
- ConsentAgreementListBuilder
- Provides a list controller for gdpr_consent entities.
Namespace
Drupal\gdpr_consent\EntityCode
public function buildHeader() {
$header = [
'title' => $this
->t('Title'),
'mode' => $this
->t('Implicit/Explicit'),
];
return $header + parent::buildHeader();
}