1 views_test_plugin_access_test_static.inc views_test_plugin_access_test_static::access($account)

Determine if the current user has access or not.

Overrides views_plugin_access::access

File

core/modules/views/tests/views_test/test_plugins/views_test_plugin_access_test_static.inc, line 19
Definition of views_test_plugin_access_test_static.

Class

views_test_plugin_access_test_static
Tests a static access plugin.

Code

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