function ViewsTestQueryAccessHooks::queryMediaAccessAlter
Implements hook_query_TAG_alter() for the 'media_access' query tag.
File
-
core/
modules/ views/ tests/ modules/ views_test_query_access/ src/ Hook/ ViewsTestQueryAccessHooks.php, line 18
Class
- ViewsTestQueryAccessHooks
- Hook implementations for views_test_query_access.
Namespace
Drupal\views_test_query_access\HookCode
public function queryMediaAccessAlter(AlterableInterface $query) : void {
_views_test_query_access_restrict_by_uuid($query);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.