You are here

public function EckEntityListBuilder::render in Entity Construction Kit (ECK) 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/Controller/EckEntityListBuilder.php, line 20

Class

EckEntityListBuilder
Provides a list controller for ECK entity.

Namespace

Drupal\eck\Controller

Code

public function render() {
  $build['description'] = [
    '#markup' => $this
      ->t('Entity settings'),
  ];
  $build['table'] = parent::render();
  return $build;
}