You are here

constant SchedulerEvents::PRE_UNPUBLISH in Scheduler 8

The event triggered before a node is unpublished via cron.

This event allows modules to react before 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 87

Class

SchedulerEvents
Contains all events dispatched by Scheduler.

Namespace

Drupal\scheduler

Code

const PRE_UNPUBLISH = 'scheduler.pre_unpublish';