function CurrentLanguageContext::getAvailableContexts
Same name in other branches
- 9 core/lib/Drupal/Core/Language/ContextProvider/CurrentLanguageContext.php \Drupal\Core\Language\ContextProvider\CurrentLanguageContext::getAvailableContexts()
- 10 core/lib/Drupal/Core/Language/ContextProvider/CurrentLanguageContext.php \Drupal\Core\Language\ContextProvider\CurrentLanguageContext::getAvailableContexts()
- 11.x core/lib/Drupal/Core/Language/ContextProvider/CurrentLanguageContext.php \Drupal\Core\Language\ContextProvider\CurrentLanguageContext::getAvailableContexts()
Overrides ContextProviderInterface::getAvailableContexts
File
-
core/
lib/ Drupal/ Core/ Language/ ContextProvider/ CurrentLanguageContext.php, line 71
Class
- CurrentLanguageContext
- Sets the current language as a context.
Namespace
Drupal\Core\Language\ContextProviderCode
public function getAvailableContexts() {
return $this->getRuntimeContexts([]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.