public function LanguageCookieConditionInterface::getCurrentLanguage in Language Cookie 8
Get the current language.
Return value
\Drupal\Core\Language\LanguageInterface|null The current language when available, else NULL.
1 method overrides LanguageCookieConditionInterface::getCurrentLanguage()
- LanguageCookieConditionBase::getCurrentLanguage in src/
LanguageCookieConditionBase.php - Get the current language.
File
- src/
LanguageCookieConditionInterface.php, line 104
Class
- LanguageCookieConditionInterface
- Interface LanguageCookieConditionInterface.
Namespace
Drupal\language_cookieCode
public function getCurrentLanguage();