You are here

public function ContactFormListBuilder::buildHeader in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/contact/src/ContactFormListBuilder.php \Drupal\contact\ContactFormListBuilder::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

core/modules/contact/src/ContactFormListBuilder.php, line 18

Class

ContactFormListBuilder
Defines a class to build a listing of contact form entities.

Namespace

Drupal\contact

Code

public function buildHeader() {
  $header['form'] = t('Form');
  $header['recipients'] = t('Recipients');
  $header['selected'] = t('Selected');
  return $header + parent::buildHeader();
}