You are here

constant SchedulerCommerceProductEvents::PRE_PUBLISH_IMMEDIATELY in Scheduler 2.x

The event triggered before a commerce_product is published immediately.

This event allows modules to react before an entity is published immediately when being saved after editing. The event listener method receives a \Drupal\Core\Entity\EntityInterface instance.

See also

\Drupal\scheduler\Event\SchedulerEvent

File

src/Event/SchedulerCommerceProductEvents.php, line 52

Class

SchedulerCommerceProductEvents
Lists the six events dispatched by Scheduler for commerce_product entities.

Namespace

Drupal\scheduler\Event

Code

const PRE_PUBLISH_IMMEDIATELY = 'scheduler.commerce_product_pre_publish_immediately';