You are here

public function IndividualListBuilder::buildHeader in CRM Core 8.2

Same name and namespace in other branches
  1. 8.3 modules/crm_core_contact/src/IndividualListBuilder.php \Drupal\crm_core_contact\IndividualListBuilder::buildHeader()
  2. 8 modules/crm_core_contact/src/IndividualListBuilder.php \Drupal\crm_core_contact\IndividualListBuilder::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/IndividualListBuilder.php, line 55

Class

IndividualListBuilder
List builder for the individual entity.

Namespace

Drupal\crm_core_contact

Code

public function buildHeader() {
  $header = array();
  $header['label'] = $this
    ->t('Label');
  $header['type'] = array(
    'data' => $this
      ->t('Individual type'),
    'class' => array(
      RESPONSIVE_PRIORITY_MEDIUM,
    ),
  );
  $header['changed'] = array(
    'data' => $this
      ->t('Updated'),
    'class' => array(
      RESPONSIVE_PRIORITY_LOW,
    ),
  );
  return $header + parent::buildHeader();
}