You are here

public function OpignoModuleListBuilder::render in Opigno module 8

Same name and namespace in other branches
  1. 3.x src/OpignoModuleListBuilder.php \Drupal\opigno_module\OpignoModuleListBuilder::render()

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/OpignoModuleListBuilder.php, line 61

Class

OpignoModuleListBuilder
Defines a class to build a listing of Module entities.

Namespace

Drupal\opigno_module

Code

public function render() {
  $pager_manager = \Drupal::service('pager.manager');
  $pager_manager
    ->createPager($this
    ->getTotalCount(), $this->limit);
  $build = parent::render();
  return $build;
}