You are here

public function FlexiformFormEntityManager::deferredSave in Flexiform 8

Track that we need to do a deferred save of an entity.

Parameters

\Drupal\Core\Entity\EntityInterface $entity: The entity to save.

File

src/FormEntity/FlexiformFormEntityManager.php, line 163

Class

FlexiformFormEntityManager
Class for form entity managers.

Namespace

Drupal\flexiform\FormEntity

Code

public function deferredSave(EntityInterface $entity) {
  $this->deferredSaves["{$entity->getEntityTypeId()}:{$entity->id()}"] = $entity;
}