You are here

protected function MaskContentEntityStorage::doSaveFieldItems in Chaos Tool Suite (ctools) 8.3

Writes entity field values to the storage.

This method is responsible for allocating entity and revision identifiers and updating the entity object with their values.

Parameters

\Drupal\Core\Entity\ContentEntityInterface $entity: The entity object.

string[] $names: (optional) The name of the fields to be written to the storage. If an empty value is passed all field values are saved.

Overrides ContentEntityStorageBase::doSaveFieldItems

File

modules/ctools_entity_mask/src/MaskContentEntityStorage.php, line 38

Class

MaskContentEntityStorage
Storage handler that simulates a full save, without writing to the database.

Namespace

Drupal\ctools_entity_mask

Code

protected function doSaveFieldItems(ContentEntityInterface $entity, array $names = []) {
}