You are here

public function ContactFormListBuilder::buildHeader in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 23
Contains \Drupal\contact\ContactFormListBuilder.

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();
}