You are here

constant RulesCommerceProductEvent::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/RulesCommerceProductEvent.php, line 21

Class

RulesCommerceProductEvent
Class for all Commerce Product events for use in Rules module.

Namespace

Drupal\scheduler_rules_integration\Event

Code

const CRON_PUBLISHED = 'scheduler:commerce_product_has_been_published_via_cron';