public function ConfigEntityStorageInterface::updateFromStorageRecord in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/Config/Entity/ConfigEntityStorageInterface.php \Drupal\Core\Config\Entity\ConfigEntityStorageInterface::updateFromStorageRecord()
Updates a configuration entity from storage values.
Allows the configuration entity storage to massage storage values before updating an entity.
Parameters
ConfigEntityInterface $entity: The configuration entity to update.
array $values: The array of values from the configuration storage.
Return value
ConfigEntityInterface The configuration entity.
See also
\Drupal\Core\Entity\EntityStorageBase::mapFromStorageRecords()
\Drupal\field\FieldStorageConfigStorage::mapFromStorageRecords()
1 method overrides ConfigEntityStorageInterface::updateFromStorageRecord()
- ConfigEntityStorage::updateFromStorageRecord in core/
lib/ Drupal/ Core/ Config/ Entity/ ConfigEntityStorage.php - Updates a configuration entity from storage values.
File
- core/
lib/ Drupal/ Core/ Config/ Entity/ ConfigEntityStorageInterface.php, line 60
Class
- ConfigEntityStorageInterface
- Provides an interface for configuration entity storage.
Namespace
Drupal\Core\Config\EntityCode
public function updateFromStorageRecord(ConfigEntityInterface $entity, array $values);