You are here

public function MessageTemplateListBuilder::buildHeader in Message 8

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/MessageTemplateListBuilder.php, line 19

Class

MessageTemplateListBuilder
Defines a class to build a listing of message template entities.

Namespace

Drupal\message

Code

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