public function views_test_plugin_access_test_static::access in Views (for Drupal 7) 7.3
Determine if the current user has access or not.
Overrides views_plugin_access::access
File
- tests/
test_plugins/ views_test_plugin_access_test_static.inc, line 26 - Definition of views_test_plugin_access_test_static.
Class
- views_test_plugin_access_test_static
- Tests a static access plugin.
Code
public function access($account) {
return !empty($this->options['access']);
}