You are here

public function MessageDigestIntervalListBuilder::buildHeader in Message Digest 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/MessageDigestIntervalListBuilder.php, line 17

Class

MessageDigestIntervalListBuilder
List builder for digest interval configs.

Namespace

Drupal\message_digest

Code

public function buildHeader() {
  $header['label'] = t('Label');
  $header['interval'] = [
    'data' => t('interval'),
    'class' => [
      RESPONSIVE_PRIORITY_MEDIUM,
    ],
  ];
  return $header + parent::buildHeader();
}