You are here

public function QueryEntityListBuilder::buildHeader in Lightweight Directory Access Protocol (LDAP) 8.4

Same name and namespace in other branches
  1. 8.3 ldap_query/src/QueryEntityListBuilder.php \Drupal\ldap_query\QueryEntityListBuilder::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

ldap_query/src/QueryEntityListBuilder.php, line 19

Class

QueryEntityListBuilder
Provides a listing of LDAP Queries entities.

Namespace

Drupal\ldap_query

Code

public function buildHeader() : array {
  $header['label'] = $this
    ->t('LDAP Query');
  $header['server_id'] = $this
    ->t('Server');
  $header['status'] = $this
    ->t('Enabled');
  return $header + parent::buildHeader();
}