protected function DomainAliasListBuilder::getEntityIds in Domain Access 8
Loads entity IDs using a pager sorted by the entity id.
Return value
array An array of entity IDs.
Overrides EntityListBuilder::getEntityIds
File
- domain_alias/src/ DomainAliasListBuilder.php, line 70 
Class
- DomainAliasListBuilder
- User interface for the domain alias overview screen.
Namespace
Drupal\domain_aliasCode
protected function getEntityIds() {
  $query = $this
    ->getStorage()
    ->getQuery()
    ->condition('domain_id', $this
    ->getDomainId())
    ->sort($this->entityType
    ->getKey('id'));
  // Only add the pager if a limit is specified.
  if ($this->limit) {
    $query
      ->pager($this->limit);
  }
  return $query
    ->execute();
}