function views_test_plugin_access_test_static::access

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

Class

views_test_plugin_access_test_static
Tests a static access plugin.

Code

public function access($account) {
  return !empty($this->options['access']);
}