You are here

public function AbstractPathEvent::getLangcode 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::getLangcode()

Getter.

Return value

string The langcode like 'nl'.

File

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

Class

AbstractPathEvent
Class AbstractPathEvent.

Namespace

Drupal\path_event_dispatcher\Event\Path

Code

public function getLangcode() : string {
  return $this->langcode;
}