You are here

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

Class

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

Namespace

Drupal\prod_check

Code

public function render() {
  $build['processor_header']['#markup'] = '<h3>' . t('Available processors:') . '</h3>';
  $build['processor_table'] = parent::render();
  return $build;
}