You are here

protected function SiteSettingEntityListBuilder::getEntityIds in Site Settings and Labels 8

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

Return value

array An array of entity IDs.

Overrides EntityListBuilder::getEntityIds

File

src/SiteSettingEntityListBuilder.php, line 156

Class

SiteSettingEntityListBuilder
Defines a class to build a listing of Site Setting entities.

Namespace

Drupal\site_settings

Code

protected function getEntityIds() {
  $query = $this
    ->getStorage()
    ->getQuery()
    ->sort($this->entityType
    ->getKey('fieldset'))
    ->sort($this->entityType
    ->getKey('id'));
  return $query
    ->execute();
}