function StaticTest::access
Same name in other branches
- 9 core/modules/views/tests/modules/views_test_data/src/Plugin/views/access/StaticTest.php \Drupal\views_test_data\Plugin\views\access\StaticTest::access()
- 8.9.x core/modules/views/tests/modules/views_test_data/src/Plugin/views/access/StaticTest.php \Drupal\views_test_data\Plugin\views\access\StaticTest::access()
- 10 core/modules/views/tests/modules/views_test_data/src/Plugin/views/access/StaticTest.php \Drupal\views_test_data\Plugin\views\access\StaticTest::access()
Overrides AccessPluginBase::access
File
-
core/
modules/ views/ tests/ modules/ views_test_data/ src/ Plugin/ views/ access/ StaticTest.php, line 33
Class
- StaticTest
- Tests a static access plugin.
Namespace
Drupal\views_test_data\Plugin\views\accessCode
public function access(AccountInterface $account) {
return !empty($this->options['access']);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.