You are here

public function PardotCampaignListBuilder::buildHeader in Pardot Integration 8

Builds the header row for the entity listing.

Return value

array A render array structure of header strings.

Overrides EntityListBuilder::buildHeader

File

src/Controller/PardotCampaignListBuilder.php, line 23

Class

PardotCampaignListBuilder
Provides a listing of Pardot Campaign entities.

Namespace

Drupal\pardot\Controller

Code

public function buildHeader() {
  $header['label'] = $this
    ->t('Campaign Label');
  $header['campaign_id'] = $this
    ->t('Pardot Campaign ID');
  return $header + parent::buildHeader();
}