protected function BlockListBuilder::getEntityIds in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/block/src/BlockListBuilder.php \Drupal\block\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 332 - Contains \Drupal\block\BlockListBuilder.
Class
- BlockListBuilder
- Defines a class to build a listing of block entities.
Namespace
Drupal\blockCode
protected function getEntityIds() {
return $this
->getStorage()
->getQuery()
->condition('theme', $this
->getThemeName())
->sort($this->entityType
->getKey('id'))
->execute();
}