function EntityListBuilder::getEntityIds
Same name in other branches
- 9 core/lib/Drupal/Core/Entity/EntityListBuilder.php \Drupal\Core\Entity\EntityListBuilder::getEntityIds()
- 8.9.x core/lib/Drupal/Core/Entity/EntityListBuilder.php \Drupal\Core\Entity\EntityListBuilder::getEntityIds()
- 11.x core/lib/Drupal/Core/Entity/EntityListBuilder.php \Drupal\Core\Entity\EntityListBuilder::getEntityIds()
Loads entity IDs using a pager sorted by the entity id.
Return value
array An array of entity IDs.
2 calls to EntityListBuilder::getEntityIds()
- ConfigEntityListBuilder::load in core/
lib/ Drupal/ Core/ Config/ Entity/ ConfigEntityListBuilder.php - EntityListBuilder::load in core/
lib/ Drupal/ Core/ Entity/ EntityListBuilder.php
5 methods override EntityListBuilder::getEntityIds()
- BlockContentListBuilder::getEntityIds in core/
modules/ block_content/ src/ BlockContentListBuilder.php - BlockListBuilder::getEntityIds in core/
modules/ block/ src/ BlockListBuilder.php - MediaListBuilder::getEntityIds in core/
modules/ media/ src/ MediaListBuilder.php - MenuListBuilder::getEntityIds in core/
modules/ menu_ui/ src/ MenuListBuilder.php - PathAliasListBuilder::getEntityIds in core/
modules/ path/ src/ PathAliasListBuilder.php
File
-
core/
lib/ Drupal/ Core/ Entity/ EntityListBuilder.php, line 98
Class
- EntityListBuilder
- Defines a generic implementation to build a listing of entities.
Namespace
Drupal\Core\EntityCode
protected function getEntityIds() {
return $this->getEntityListQuery()
->execute();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.