You are here

public function PardotCampaignListBuilder::render in Pardot Integration 8

Adds introduction to Pardot Campaign list.

Return value

array Renderable array.

Overrides EntityListBuilder::render

File

src/Controller/PardotCampaignListBuilder.php, line 51

Class

PardotCampaignListBuilder
Provides a listing of Pardot Campaign entities.

Namespace

Drupal\pardot\Controller

Code

public function render() {
  $build['description'] = array(
    '#markup' => $this
      ->t("<p>Additional Pardot Campaigns for specific paths, on which, the default campaign will be overridden.</p>"),
  );
  $build[] = parent::render();
  return $build;
}