You are here

final class PathInsertEvent in Hook Event Dispatcher 8.2

Same name and namespace in other branches
  1. 3.x modules/path_event_dispatcher/src/Event/Path/PathInsertEvent.php \Drupal\path_event_dispatcher\Event\Path\PathInsertEvent

Class PathInsertEvent.

Hierarchy

Expanded class hierarchy of PathInsertEvent

1 file declares its use of PathInsertEvent
path_event_dispatcher.module in modules/path_event_dispatcher/path_event_dispatcher.module
Path event dispatcher submodule.

File

modules/path_event_dispatcher/src/Event/Path/PathInsertEvent.php, line 10

Namespace

Drupal\path_event_dispatcher\Event\Path
View source
final class PathInsertEvent extends AbstractPathEvent {

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

}

Members

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