EventBase.php in Scheduler 8
File
src/EventBase.php
View source
<?php
namespace Drupal\scheduler;
if (!class_exists('Drupal\\Component\\EventDispatcher\\Event')) {
class_alias('Symfony\\Component\\EventDispatcher\\Event', 'Drupal\\Component\\EventDispatcher\\Event');
}
use Drupal\Component\EventDispatcher\Event;
use Drupal\node\NodeInterface;
class EventBase extends Event {
public $node;
public function __construct(NodeInterface $node) {
$this->node = $node;
}
}
Classes
Name |
Description |
EventBase |
Base class on which all Scheduler events are extended. |