You are here

public function AbstractPathEvent::getSource in Hook Event Dispatcher 8.2

Same name and namespace in other branches
  1. 3.x modules/path_event_dispatcher/src/Event/Path/AbstractPathEvent.php \Drupal\path_event_dispatcher\Event\Path\AbstractPathEvent::getSource()

Getter.

Return value

string The source like '/node/1'.

File

modules/path_event_dispatcher/src/Event/Path/AbstractPathEvent.php, line 68

Class

AbstractPathEvent
Class AbstractPathEvent.

Namespace

Drupal\path_event_dispatcher\Event\Path

Code

public function getSource() : string {
  return $this->source;
}