public function OrganizationListBuilder::buildHeader in CRM Core 8.2
Same name and namespace in other branches
- 8.3 modules/crm_core_contact/src/OrganizationListBuilder.php \Drupal\crm_core_contact\OrganizationListBuilder::buildHeader()
- 8 modules/crm_core_contact/src/OrganizationListBuilder.php \Drupal\crm_core_contact\OrganizationListBuilder::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_contact/ src/ OrganizationListBuilder.php, line 61
Class
- OrganizationListBuilder
- Class OrganizationListBuilder.
Namespace
Drupal\crm_core_contactCode
public function buildHeader() {
$header = array();
$header['label'] = $this
->t('Label');
$header['type'] = array(
'data' => $this
->t('Organization type'),
'class' => array(
RESPONSIVE_PRIORITY_MEDIUM,
),
);
$header['changed'] = array(
'data' => $this
->t('Updated'),
'class' => array(
RESPONSIVE_PRIORITY_LOW,
),
);
return $header + parent::buildHeader();
}