public function RelationListBuilder::buildHeader in CRM Core 8
Same name and namespace in other branches
- 8.3 modules/crm_core_user_sync/src/RelationListBuilder.php \Drupal\crm_core_user_sync\RelationListBuilder::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/
crm_core_user_sync/ src/ RelationListBuilder.php, line 80
Class
- RelationListBuilder
- Provides a list controller for the relation entity type.
Namespace
Drupal\crm_core_user_syncCode
public function buildHeader() {
$header['id'] = $this
->t('ID');
$header['user'] = $this
->t('User');
$header['individual'] = $this
->t('Individual');
return $header + parent::buildHeader();
}