You are here

constant RulesMediaEvent::CRON_PUBLISHED in Scheduler 2.x

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

The final event names here are defined in the event deriver and are different in format from the event names for node events, as originally coded long-hand in scheduler_rules_integration.rules.events.yml. 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/RulesMediaEvent.php, line 21

Class

RulesMediaEvent
Class for all Rules media events.

Namespace

Drupal\scheduler_rules_integration\Event

Code

const CRON_PUBLISHED = 'scheduler:media_has_been_published_via_cron';