You are here

constant SchedulerEvents::UNPUBLISH in Scheduler 8

The event triggered after a node is unpublished via cron.

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

See also

\Drupal\scheduler\SchedulerEvent

File

src/SchedulerEvents.php, line 101

Class

SchedulerEvents
Contains all events dispatched by Scheduler.

Namespace

Drupal\scheduler

Code

const UNPUBLISH = 'scheduler.unpublish';