You are here

constant YamlContentEvents::ENTITY_PRE_SAVE in YAML Content 8

Same name and namespace in other branches
  1. 8.2 src/Event/YamlContentEvents.php \Drupal\yaml_content\Event\YamlContentEvents::ENTITY_PRE_SAVE

Name of the event fired before an imported entity is saved.

This event allows modules to perform an action whenever an entity is prepared, but before it is saved. The event listener receives a \Drupal\yaml_content\Event\EntityPreSaveEvent instance.

See also

\Drupal\yaml_content\Event\EntityPreSaveEvent

File

src/Event/YamlContentEvents.php, line 42

Class

YamlContentEvents
Defines events for the YAML Content framework.

Namespace

Drupal\yaml_content\Event

Code

const ENTITY_PRE_SAVE = 'yaml_content.import.entity_pre_save';