function ConfigEntityListBuilder::load
Same name in other branches
- 9 core/lib/Drupal/Core/Config/Entity/ConfigEntityListBuilder.php \Drupal\Core\Config\Entity\ConfigEntityListBuilder::load()
- 8.9.x core/lib/Drupal/Core/Config/Entity/ConfigEntityListBuilder.php \Drupal\Core\Config\Entity\ConfigEntityListBuilder::load()
- 10 core/lib/Drupal/Core/Config/Entity/ConfigEntityListBuilder.php \Drupal\Core\Config\Entity\ConfigEntityListBuilder::load()
Overrides EntityListBuilder::load
5 calls to ConfigEntityListBuilder::load()
- ActionListBuilder::load in core/
modules/ action/ src/ ActionListBuilder.php - Loads entities of this type from storage for listing.
- BlockListBuilder::buildBlocksForm in core/
modules/ block/ src/ BlockListBuilder.php - Builds the main "Blocks" portion of the form.
- EntityDisplayModeListBuilder::load in core/
modules/ field_ui/ src/ EntityDisplayModeListBuilder.php - Loads entities of this type from storage for listing.
- ViewListBuilder::load in core/
modules/ views_ui/ src/ ViewListBuilder.php - Loads entities of this type from storage for listing.
- VocabularyListBuilder::render in core/
modules/ taxonomy/ src/ VocabularyListBuilder.php - Builds a listing of entities for the given entity type.
6 methods override ConfigEntityListBuilder::load()
- ActionListBuilder::load in core/
modules/ action/ src/ ActionListBuilder.php - Loads entities of this type from storage for listing.
- ConfigTranslationFieldListBuilder::load in core/
modules/ config_translation/ src/ Controller/ ConfigTranslationFieldListBuilder.php - Loads entities of this type from storage for listing.
- EntityDisplayModeListBuilder::load in core/
modules/ field_ui/ src/ EntityDisplayModeListBuilder.php - Loads entities of this type from storage for listing.
- FieldConfigListBuilder::load in core/
modules/ field_ui/ src/ FieldConfigListBuilder.php - Loads entities of this type from storage for listing.
- LanguageListBuilder::load in core/
modules/ language/ src/ LanguageListBuilder.php - Loads entities of this type from storage for listing.
File
-
core/
lib/ Drupal/ Core/ Config/ Entity/ ConfigEntityListBuilder.php, line 25
Class
- ConfigEntityListBuilder
- Defines the default class to build a listing of configuration entities.
Namespace
Drupal\Core\Config\EntityCode
public function load() {
$entity_ids = $this->getEntityIds();
$entities = $this->storage
->loadMultipleOverrideFree($entity_ids);
// Sort the entities using the entity class's sort() method.
// See \Drupal\Core\Config\Entity\ConfigEntityBase::sort().
uasort($entities, [
$this->entityType
->getClass(),
'sort',
]);
return $entities;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.