You are here

public function PardotScoreListBuilder::render in Pardot Integration 8

Adds introduction to Pardot Score list.

Return value

array Renderable array.

Overrides EntityListBuilder::render

File

src/Controller/PardotScoreListBuilder.php, line 51

Class

PardotScoreListBuilder
Provides a listing of Pardot Score entities.

Namespace

Drupal\pardot\Controller

Code

public function render() {
  $build['description'] = array(
    '#markup' => $this
      ->t("<p>Pardot Scores for specific paths.</p>"),
  );
  $build[] = parent::render();
  return $build;
}