public function ConfigEntityStorageDecorator::createFromStorageRecord in Devel 8
Same name and namespace in other branches
- 8.3 webprofiler/src/Entity/Decorators/Config/ConfigEntityStorageDecorator.php \Drupal\webprofiler\Entity\Decorators\Config\ConfigEntityStorageDecorator::createFromStorageRecord()
- 8.2 webprofiler/src/Entity/Decorators/Config/ConfigEntityStorageDecorator.php \Drupal\webprofiler\Entity\Decorators\Config\ConfigEntityStorageDecorator::createFromStorageRecord()
- 4.x webprofiler/src/Entity/Decorators/Config/ConfigEntityStorageDecorator.php \Drupal\webprofiler\Entity\Decorators\Config\ConfigEntityStorageDecorator::createFromStorageRecord()
Creates a configuration entity from storage values.
Allows the configuration entity storage to massage storage values before creating an entity.
Parameters
array $values: The array of values from the configuration storage.
Return value
ConfigEntityInterface The configuration entity.
Overrides ConfigEntityStorageInterface::createFromStorageRecord
See also
\Drupal\Core\Entity\EntityStorageBase::mapFromStorageRecords()
\Drupal\field\FieldStorageConfigStorage::mapFromStorageRecords()
File
- webprofiler/
src/ Entity/ Decorators/ Config/ ConfigEntityStorageDecorator.php, line 149
Class
- ConfigEntityStorageDecorator
- Class ConfigEntityStorageDecorator
Namespace
Drupal\webprofiler\Entity\Decorators\ConfigCode
public function createFromStorageRecord(array $values) {
return $this
->getOriginalObject()
->createFromStorageRecord($values);
}