public function HostListBuilder::buildHeader in http:BL 8
Building the header and content lines for the contact list.
Calling the parent::buildHeader() adds a column for the possible actions and inserts the 'edit' and 'delete' links as defined for the entity type.
Overrides EntityListBuilder::buildHeader
File
- src/
Entity/ Controller/ HostListBuilder.php, line 75
Class
- HostListBuilder
- Provides a list controller for a host entity.
Namespace
Drupal\httpbl\Entity\ControllerCode
public function buildHeader() {
$header['id'] = $this
->t('hid');
$header['name'] = $this
->t('Host');
$header['host_status'] = $this
->t('Host Status');
$header['source'] = $this
->t('Source');
$header['expire'] = $this
->t('Expires');
$header['created'] = $this
->t('Created');
$header['changed'] = $this
->t('Changed');
return $header + parent::buildHeader();
}