You are here

constant SchedulerEvents::PRE_PUBLISH in Scheduler 8

The event triggered before a node is published via cron.

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

See also

\Drupal\scheduler\SchedulerEvent

File

src/SchedulerEvents.php, line 72

Class

SchedulerEvents
Contains all events dispatched by Scheduler.

Namespace

Drupal\scheduler

Code

const PRE_PUBLISH = 'scheduler.pre_publish';