You are here

constant SchedulerNodeEvents::PUBLISH_IMMEDIATELY in Scheduler 2.x

The event triggered after a node is published immediately.

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

See also

\Drupal\scheduler\Event\SchedulerEvent

File

src/Event/SchedulerNodeEvents.php, line 27

Class

SchedulerNodeEvents
Lists the six events dispatched by Scheduler relating to Node entities.

Namespace

Drupal\scheduler\Event

Code

const PUBLISH_IMMEDIATELY = 'scheduler.publish_immediately';