function workspaces_views_query_alter
Same name in other branches
- 9 core/modules/workspaces/workspaces.module \workspaces_views_query_alter()
- 10 core/modules/workspaces/workspaces.module \workspaces_views_query_alter()
- 11.x core/modules/workspaces/workspaces.module \workspaces_views_query_alter()
Implements hook_views_query_alter().
File
-
core/
modules/ workspaces/ workspaces.module, line 171
Code
function workspaces_views_query_alter(ViewExecutable $view, QueryPluginBase $query) {
return \Drupal::service('class_resolver')->getInstanceFromDefinition(ViewsQueryAlter::class)
->alterQuery($view, $query);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.