You are here

public function UrlLanguageService::getUrlLanguage in Allowed Languages 8

Get the stored language.

Return value

\Drupal\Core\Language\LanguageInterface|null Returns the set language.

File

src/UrlLanguageService.php, line 56

Class

UrlLanguageService
Allowed languages url language service.

Namespace

Drupal\allowed_languages

Code

public function getUrlLanguage() {
  return $this->storedLanguage;
}