ContentEntityStorageBase::doSaveFieldItems

abstract protected ContentEntityStorageBase::doSaveFieldItems(ContentEntityInterface $entity, array $names = [])

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.

File

core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php, line 280

Class

ContentEntityStorageBase
Base class for content entity storage handlers.

Namespace

Drupal\Core\Entity

Code

abstract protected function doSaveFieldItems(ContentEntityInterface $entity, array $names = []);
doc_Drupal
2016-10-29 08:57:33
Comments
Leave a Comment

Please login to continue.