You are here

protected function WebformEntityListBuilder::getLimit in Webform 8.5

Same name and namespace in other branches
  1. 6.x src/WebformEntityListBuilder.php \Drupal\webform\WebformEntityListBuilder::getLimit()

Get number of entities to list per page.

Return value

int|false The number of entities to list per page, or FALSE to list all entities.

1 call to WebformEntityListBuilder::getLimit()
WebformEntityListBuilder::getEntityIds in src/WebformEntityListBuilder.php
Loads entity IDs using a pager sorted by the entity id.

File

src/WebformEntityListBuilder.php, line 619

Class

WebformEntityListBuilder
Defines a class to build a listing of webform entities.

Namespace

Drupal\webform

Code

protected function getLimit() {
  return $this
    ->isAdmin() ? $this->limit : FALSE;
}