You are here

public function HostListBuilder::render in http:BL 8

We override ::render() so that we can add our own content above the table. parent::render() is where EntityListBuilder creates the table using our buildHeader() and buildRow() implementations.

Overrides EntityListBuilder::render

File

src/Entity/Controller/HostListBuilder.php, line 62

Class

HostListBuilder
Provides a list controller for a host entity.

Namespace

Drupal\httpbl\Entity\Controller

Code

public function render() {
  $build['table'] = parent::render();
  return $build;
}