You are here

public function CheckListBuilder::render in Production check & Production monitor 8

Builds the entity listing as renderable array for table.html.twig.

@todo Add a link to add a new item to the #empty text.

Overrides EntityListBuilder::render

File

src/CheckListBuilder.php, line 112

Class

CheckListBuilder
Defines a class to build a listing of prod check processor entities.

Namespace

Drupal\prod_check

Code

public function render() {
  $build['check_header']['#markup'] = '<h3>' . t('Available production checks:') . '</h3>';
  $build['check_table'] = parent::render();
  return $build;
}