You are here

public function AbstractPathEvent::getLangcode in Hook Event Dispatcher 3.x

Same name and namespace in other branches
  1. 8.2 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;
}