You are here

constant GatherContentEvents::PRE_NODE_SAVE in GatherContent 8.4

Same name and namespace in other branches
  1. 8.3 src/Event/GatherContentEvents.php \Drupal\gathercontent\Event\GatherContentEvents::PRE_NODE_SAVE

Name of the event fired before we save node from GatherContent.

This event allows modules to perform an action before new node is saved from GatherContent to Drupal. The event is triggered just before entity save. The event listener method receives a \Drupal\gathercontent\Event\PreNodeSaveEvent instance.

See also

\Drupal\gathercontent\Event\PreNodeSaveEvent

File

src/Event/GatherContentEvents.php, line 46

Class

GatherContentEvents
Defines events for the GatherContent module.

Namespace

Drupal\gathercontent\Event

Code

const PRE_NODE_SAVE = 'gathercontent.pre_node_save';