public function MailchimpSignupListBuilder::buildHeader in Mailchimp 8
Same name and namespace in other branches
- 2.x modules/mailchimp_signup/src/Controller/MailchimpSignupListBuilder.php \Drupal\mailchimp_signup\Controller\MailchimpSignupListBuilder::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
- modules/
mailchimp_signup/ src/ Controller/ MailchimpSignupListBuilder.php, line 19
Class
- MailchimpSignupListBuilder
- Provides a listing of MailchimpSignups.
Namespace
Drupal\mailchimp_signup\ControllerCode
public function buildHeader() {
$header['label'] = $this
->t('Label');
$header['display_modes'] = $this
->t('Display Modes');
$header['lists'] = $this
->t('Mailchimp Audiences');
return $header + parent::buildHeader();
}