public static function MetatagViewsCacheWrapper::queryLanguageSubstitutions in Metatag 8
Returns substitutions for Views queries for languages.
This is needed so that the language options returned by PluginBase::listLanguages() are able to be used in queries. It is called by the Views module implementation of hook_views_query_substitutions() to get the language-related substitutions.
Return value
array An array in the format of hook_views_query_substitutions() that gives the query substitutions needed for the special language types.
Overrides PluginBase::queryLanguageSubstitutions
File
- metatag_views/
src/ MetatagViewsCacheWrapper.php, line 341
Class
- MetatagViewsCacheWrapper
- This class wraps a Views cache plugin.
Namespace
Drupal\metatag_viewsCode
public static function queryLanguageSubstitutions() {
CachePluginBase::queryLanguageSubstitutions();
}