final class GatherUploadContentEvents in GatherContent 8.5
Defines events for the GatherContent module.
Hierarchy
- class \Drupal\gathercontent_upload\Event\GatherUploadContentEvents
Expanded class hierarchy of GatherUploadContentEvents
1 file declares its use of GatherUploadContentEvents
- Exporter.php in gathercontent_upload/
src/ Export/ Exporter.php
File
- gathercontent_upload/
src/ Event/ GatherUploadContentEvents.php, line 8
Namespace
Drupal\gathercontent_upload\EventView source
final class GatherUploadContentEvents {
/**
* Name of the event fired before we post node to GatherContent.
*
* This event allows modules to perform an action before node is uploaded
* from Drupal to GatherContent. The event listener method receives
* a \Drupal\gathercontent\Event\PreNodeUploadEvent instance.
*
* @Event
*
* @see \Drupal\gathercontent_upload\Event\PreNodeUploadEvent
*
* @var string
*/
const PRE_NODE_UPLOAD = 'gathercontent.pre_node_upload';
/**
* Name of the event fired after we post node to GatherContent.
*
* This event allows modules to perform an action after node is uploaded
* to GatherContent from Drupal. The event is triggered only after successful
* upload. The event listener method receives
* a \Drupal\gathercontent\Event\PostNodeSaveEvent instance.
*
* @Event
*
* @see \Drupal\gathercontent_upload\Event\PostNodeUploadEvent
*
* @var string
*/
const POST_NODE_UPLOAD = 'gathercontent.post_node_upload';
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
GatherUploadContentEvents:: |
constant | Name of the event fired after we post node to GatherContent. | ||
GatherUploadContentEvents:: |
constant | Name of the event fired before we post node to GatherContent. |