public function ContactFormListBuilder::buildHeader in Drupal 10
Same name and namespace in other branches
- 8 core/modules/contact/src/ContactFormListBuilder.php \Drupal\contact\ContactFormListBuilder::buildHeader()
- 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\contactCode
public function buildHeader() {
$header['form'] = t('Form');
$header['recipients'] = t('Recipients');
$header['selected'] = t('Selected');
return $header + parent::buildHeader();
}