You are here

protected function WebformOptionsListBuilder::getEntityIds in Webform 8.5

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

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

Return value

array An array of entity IDs.

Overrides EntityListBuilder::getEntityIds

File

src/WebformOptionsListBuilder.php, line 279

Class

WebformOptionsListBuilder
Defines a class to build a listing of webform options entities.

Namespace

Drupal\webform

Code

protected function getEntityIds() {
  $header = $this
    ->buildHeader();
  $query = $this
    ->getQuery($this->keys, $this->category);
  $query
    ->tableSort($header);
  $query
    ->pager($this->limit);
  return $query
    ->execute();
}