You are here

final class PathUpdateEvent in Hook Event Dispatcher 8

Class UpdatePathEvent.

Hierarchy

Expanded class hierarchy of PathUpdateEvent

1 file declares its use of PathUpdateEvent
hook_event_dispatcher.module in ./hook_event_dispatcher.module
Hook event dispatcher module.

File

src/Event/Path/PathUpdateEvent.php, line 10

Namespace

Drupal\hook_event_dispatcher\Event\Path
View source
final class PathUpdateEvent extends BasePathEvent {

  /**
   * Get the dispatcher type.
   *
   * @return string
   *   The dispatcher type.
   */
  public function getDispatcherType() {
    return HookEventDispatcherInterface::PATH_UPDATE;
  }

}

Members

Namesort descending Modifiers Type Description Overrides
BasePathEvent::$alias protected property The alias for the source.
BasePathEvent::$langcode protected property Lang code.
BasePathEvent::$pid protected property The path id.
BasePathEvent::$source protected property The source like '/node/1'.
BasePathEvent::getAlias public function Getter.
BasePathEvent::getLangcode public function Getter.
BasePathEvent::getPid public function Getter.
BasePathEvent::getSource public function Getter.
BasePathEvent::__construct public function BaseEntityEvent constructor. 1
PathUpdateEvent::getDispatcherType public function Get the dispatcher type. Overrides EventInterface::getDispatcherType