function EntityLastInstalledSchemaRepository::getLastInstalledFieldStorageDefinitions
Same name in other branches
- 9 core/lib/Drupal/Core/Entity/EntityLastInstalledSchemaRepository.php \Drupal\Core\Entity\EntityLastInstalledSchemaRepository::getLastInstalledFieldStorageDefinitions()
- 10 core/lib/Drupal/Core/Entity/EntityLastInstalledSchemaRepository.php \Drupal\Core\Entity\EntityLastInstalledSchemaRepository::getLastInstalledFieldStorageDefinitions()
- 11.x core/lib/Drupal/Core/Entity/EntityLastInstalledSchemaRepository.php \Drupal\Core\Entity\EntityLastInstalledSchemaRepository::getLastInstalledFieldStorageDefinitions()
Overrides EntityLastInstalledSchemaRepositoryInterface::getLastInstalledFieldStorageDefinitions
2 calls to EntityLastInstalledSchemaRepository::getLastInstalledFieldStorageDefinitions()
- EntityLastInstalledSchemaRepository::deleteLastInstalledFieldStorageDefinition in core/
lib/ Drupal/ Core/ Entity/ EntityLastInstalledSchemaRepository.php - Deletes the field storage definition from the application state.
- EntityLastInstalledSchemaRepository::setLastInstalledFieldStorageDefinition in core/
lib/ Drupal/ Core/ Entity/ EntityLastInstalledSchemaRepository.php - Stores the field storage definition in the application state.
File
-
core/
lib/ Drupal/ Core/ Entity/ EntityLastInstalledSchemaRepository.php, line 83
Class
- EntityLastInstalledSchemaRepository
- Provides a repository for installed entity definitions.
Namespace
Drupal\Core\EntityCode
public function getLastInstalledFieldStorageDefinitions($entity_type_id) {
return $this->keyValueFactory
->get('entity.definitions.installed')
->get($entity_type_id . '.field_storage_definitions', []);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.