You are here

protected function YamlFormEntityListBuilder::getLimit in YAML Form 8

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.

File

src/YamlFormEntityListBuilder.php, line 329

Class

YamlFormEntityListBuilder
Defines a class to build a listing of form entities.

Namespace

Drupal\yamlform

Code

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