You are here

constant GatherContentEvents::NODE_TO_UPDATE in GatherContent 8.4

Name of the event fired before we determine the node to update.

This event allows modules to provide an alternative node to update based on custom criteria rather than the default GatherContent node to update rules. The event is triggered just before the importer attempts to create a node or find an existing node to update. The event listener method receives a \Drupal\gathercontent\Event\NodeToUpdateEvent instance.

See also

\Drupal\gathercontent\Event\NodeToUpdateEvent

File

src/Event/GatherContentEvents.php, line 30

Class

GatherContentEvents
Defines events for the GatherContent module.

Namespace

Drupal\gathercontent\Event

Code

const NODE_TO_UPDATE = 'gathercontent.node_to_update';