constant SchedulerMediaEvents::PUBLISH_IMMEDIATELY in Scheduler 2.x
The event triggered after a media item is published immediately.
This event allows modules to react after an entity is published immediately when being saved after editing. The event listener method receives a \Drupal\Core\Entity\EntityInterface instance.
See also
\Drupal\scheduler\Event\SchedulerEvent
File
- src/
Event/ SchedulerMediaEvents.php, line 23
Class
- SchedulerMediaEvents
- Lists the six events dispatched by Scheduler relating to Media entities.
Namespace
Drupal\scheduler\EventCode
const PUBLISH_IMMEDIATELY = 'scheduler.media_publish_immediately';