constant SchedulerMediaEvents::UNPUBLISH in Scheduler 2.x
The event triggered after a media item is unpublished by cron.
This event allows modules to react after an entity is unpublished by Cron. The event listener receives a \Drupal\Core\Entity\EntityInterface instance.
See also
\Drupal\scheduler\Event\SchedulerEvent
File
- src/
Event/ SchedulerMediaEvents.php, line 94
Class
- SchedulerMediaEvents
- Lists the six events dispatched by Scheduler relating to Media entities.
Namespace
Drupal\scheduler\EventCode
const UNPUBLISH = 'scheduler.media_unpublish';