constant SchedulerCommerceProductEvents::PUBLISH in Scheduler 2.x
The event triggered after a commerce_product item is published by cron.
This event allows modules to react after an entity is published by Cron. The event listener receives a \Drupal\Core\Entity\EntityInterface instance.
See also
\Drupal\scheduler\Event\SchedulerEvent
File
- src/
Event/ SchedulerCommerceProductEvents.php, line 37
Class
- SchedulerCommerceProductEvents
- Lists the six events dispatched by Scheduler for commerce_product entities.
Namespace
Drupal\scheduler\EventCode
const PUBLISH = 'scheduler.commerce_product_publish';