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 21
Class
- ViewsTestQueryAccessHooks
- Hook implementations for views_test_query_access.
Namespace
Drupal\views_test_query_access\HookCode
public function queryMediaAccessAlter(AlterableInterface $query) : void {
$this->restrictByUuid($query);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.