public function QueryEntityListBuilder::buildHeader in Lightweight Directory Access Protocol (LDAP) 8.3
Same name and namespace in other branches
- 8.4 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 17
Class
- QueryEntityListBuilder
- Provides a listing of LDAP Queries entities.
Namespace
Drupal\ldap_queryCode
public function buildHeader() {
$header['label'] = $this
->t('LDAP Query');
$header['server_id'] = $this
->t('Server');
$header['status'] = $this
->t('Enabled');
return $header + parent::buildHeader();
}