BlockListBuilder::getEntityIds

protected BlockListBuilder::getEntityIds()

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

Return value

array An array of entity IDs.

Overrides EntityListBuilder::getEntityIds

File

core/modules/block/src/BlockListBuilder.php, line 327

Class

BlockListBuilder
Defines a class to build a listing of block entities.

Namespace

Drupal\block

Code

protected function getEntityIds() {
  return $this->getStorage()->getQuery()
    ->condition('theme', $this->getThemeName())
    ->sort($this->entityType->getKey('id'))
    ->execute();
}
doc_Drupal
2016-10-29 08:47:42
Comments
Leave a Comment

Please login to continue.