ConfigEntityStorageInterface::createFromStorageRecord

public ConfigEntityStorageInterface::createFromStorageRecord(array $values)

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.

See also

\Drupal\Core\Entity\EntityStorageBase::mapFromStorageRecords()

\Drupal\field\FieldStorageConfigStorage::mapFromStorageRecords()

File

core/lib/Drupal/Core/Config/Entity/ConfigEntityStorageInterface.php, line 41

Class

ConfigEntityStorageInterface
Provides an interface for configuration entity storage.

Namespace

Drupal\Core\Config\Entity

Code

public function createFromStorageRecord(array $values);
doc_Drupal
2016-10-29 08:52:58
Comments
Leave a Comment

Please login to continue.