You are here

final class PathInsertEvent in Hook Event Dispatcher 8

Class PathInsertEvent.

Hierarchy

Expanded class hierarchy of PathInsertEvent

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

File

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

Namespace

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

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

}

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
PathInsertEvent::getDispatcherType public function Get the dispatcher type. Overrides EventInterface::getDispatcherType