You are here

protected function YamlFormEntityListBuilder::getEntityIds in YAML Form 8

Loads entity IDs using a pager sorted by the entity id.

Return value

array An array of entity IDs.

Overrides EntityListBuilder::getEntityIds

1 call to YamlFormEntityListBuilder::getEntityIds()
YamlFormEntityListBuilder::load in src/YamlFormEntityListBuilder.php
Loads entities of this type from storage for listing.

File

src/YamlFormEntityListBuilder.php, line 244

Class

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

Namespace

Drupal\yamlform

Code

protected function getEntityIds() {
  return $this
    ->getQuery($this->keys, $this->state)
    ->sort('title')
    ->pager($this
    ->getLimit())
    ->execute();
}