You are here

protected function YamlFormSubmissionStorage::doPostSave in YAML Form 8

Performs post save entity processing.

Parameters

\Drupal\Core\Entity\EntityInterface $entity: The saved entity.

bool $update: Specifies whether the entity is being updated or created.

Overrides ContentEntityStorageBase::doPostSave

File

src/YamlFormSubmissionStorage.php, line 584

Class

YamlFormSubmissionStorage
Defines the form submission storage.

Namespace

Drupal\yamlform

Code

protected function doPostSave(EntityInterface $entity, $update) {

  /** @var \Drupal\yamlform\YamlFormSubmissionInterface $entity */
  parent::doPostSave($entity, $update);
  $this
    ->invokeYamlFormElements('postSave', $entity, $update);
  $this
    ->invokeYamlFormHandlers('postSave', $entity, $update);
}