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()
- 11.x core/lib/Drupal/Core/Config/Entity/ConfigEntityListBuilder.php \Drupal\Core\Config\Entity\ConfigEntityListBuilder::load()
Overrides EntityListBuilder::load
6 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.
- FilterFormatListBuilder::load in core/
modules/ filter/ src/ FilterFormatListBuilder.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.
7 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.
- FilterFormatListBuilder::load in core/
modules/ filter/ src/ FilterFormatListBuilder.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.