You are here

constant RulesNodeEvent::CRON_PUBLISHED in Scheduler 2.x

Define constants to convert the event identifier into the full event name.

To retain backwards compatibility the event names for node events remain as originally specified in scheduler_rules_integration.rules.events.yml. The format is different from the new events derived for other entity types. However, the identifiers (CRON_PUBLISHED, NEW_FOR_PUBLISHING, etc) are the same for all types and this is how the actual event names are retrieved.

File

scheduler_rules_integration/src/Event/RulesNodeEvent.php, line 21

Class

RulesNodeEvent
Class for all Rules node events.

Namespace

Drupal\scheduler_rules_integration\Event

Code

const CRON_PUBLISHED = 'scheduler_has_published_this_node_event';