You are here

public function PardotScoreListBuilder::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/PardotScoreListBuilder.php, line 23

Class

PardotScoreListBuilder
Provides a listing of Pardot Score entities.

Namespace

Drupal\pardot\Controller

Code

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