public static function SchedulerEventSubscriber::getSubscribedEvents in Scheduler content moderation integration 8
File
- src/
EventSubscriber/ SchedulerEventSubscriber.php, line 41
Class
- SchedulerEventSubscriber
- Handle scheduler events.
Namespace
Drupal\scheduler_content_moderation_integration\EventSubscriberCode
public static function getSubscribedEvents() {
// The values in the arrays give the function names above.
$events[SchedulerEvents::PUBLISH_IMMEDIATELY][] = [
'publishImmediately',
];
return $events;
}