class ViewsTestQueryAccessHooks
Hook implementations for views_test_query_access.
Hierarchy
- class \Drupal\views_test_query_access\Hook\ViewsTestQueryAccessHooks
Expanded class hierarchy of ViewsTestQueryAccessHooks
File
-
core/
modules/ views/ tests/ modules/ views_test_query_access/ src/ Hook/ ViewsTestQueryAccessHooks.php, line 13
Namespace
Drupal\views_test_query_access\HookView source
class ViewsTestQueryAccessHooks {
/**
* Implements hook_query_TAG_alter() for the 'media_access' query tag.
*/
public function queryMediaAccessAlter(AlterableInterface $query) {
_views_test_query_access_restrict_by_uuid($query);
}
/**
* Implements hook_query_TAG_alter() for the 'block_content_access' query tag.
*/
public function queryBlockContentAccessAlter(AlterableInterface $query) {
_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.