You are here

public function ProfileListBuilder::buildHeader in Linkit 8.5

Same name and namespace in other branches
  1. 8.4 src/ProfileListBuilder.php \Drupal\linkit\ProfileListBuilder::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

src/ProfileListBuilder.php, line 19

Class

ProfileListBuilder
Defines a class to build a listing of profile entities.

Namespace

Drupal\linkit

Code

public function buildHeader() {
  $header['title'] = $this
    ->t('Profile');
  $header['description'] = [
    'data' => $this
      ->t('Description'),
    'class' => [
      RESPONSIVE_PRIORITY_MEDIUM,
    ],
  ];
  return $header + parent::buildHeader();
}