You are here

constant SchedulerEvents::PRE_PUBLISH_IMMEDIATELY in Scheduler 8

The event triggered before a node is published immediately.

This event allows modules to react before a node is published immediately. The event listener method receives a \Drupal\Core\Entity\EntityInterface instance.

See also

\Drupal\scheduler\SchedulerEvent

File

src/SchedulerEvents.php, line 57

Class

SchedulerEvents
Contains all events dispatched by Scheduler.

Namespace

Drupal\scheduler

Code

const PRE_PUBLISH_IMMEDIATELY = 'scheduler.pre_publish_immediately';