You are here

constant SchedulerEvents::PUBLISH in Scheduler 8

The event triggered after a node is published via cron.

This event allows modules to react after 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 42

Class

SchedulerEvents
Contains all events dispatched by Scheduler.

Namespace

Drupal\scheduler

Code

const PUBLISH = 'scheduler.publish';