public function EncryptionProfileListBuilder::buildHeader in Encrypt 8.3
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/
Controller/ EncryptionProfileListBuilder.php, line 54
Class
- EncryptionProfileListBuilder
- Provides a listing of encryption profile entities.
Namespace
Drupal\encrypt\ControllerCode
public function buildHeader() {
$header['label'] = $this
->t('Label');
$header['encryption_method'] = $this
->t('Encryption method');
$header['key'] = $this
->t('Key');
if ($this->config
->get('check_profile_status')) {
$header['status'] = $this
->t('Status');
}
return $header + parent::buildHeader();
}