function WorkspacesHooks::viewsQueryAlter
Implements hook_views_query_alter().
File
-
core/
modules/ workspaces/ src/ Hook/ WorkspacesHooks.php, line 222
Class
- WorkspacesHooks
- Hook implementations for workspaces.
Namespace
Drupal\workspaces\HookCode
public function viewsQueryAlter(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.