You are here

protected function OpignoModuleListBuilder::getTotalCount in Opigno module 8

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

Returns modules count.

1 call to OpignoModuleListBuilder::getTotalCount()
OpignoModuleListBuilder::render in src/OpignoModuleListBuilder.php
Builds the entity listing as renderable array for table.html.twig.

File

src/OpignoModuleListBuilder.php, line 37

Class

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

Namespace

Drupal\opigno_module

Code

protected function getTotalCount() {
  return count($this
    ->getEntities());
}