You are here

public function views_plugin_access::access in Views (for Drupal 7) 7.3

Same name and namespace in other branches
  1. 6.3 plugins/views_plugin_access.inc \views_plugin_access::access()
  2. 6.2 plugins/views_plugin_access.inc \views_plugin_access::access()

Determine if the current user has access or not.

4 methods override views_plugin_access::access()
views_plugin_access_perm::access in plugins/views_plugin_access_perm.inc
Determine if the current user has access or not.
views_plugin_access_role::access in plugins/views_plugin_access_role.inc
Determine if the current user has access or not.
views_test_plugin_access_test_dynamic::access in tests/test_plugins/views_test_plugin_access_test_dynamic.inc
Determine if the current user has access or not.
views_test_plugin_access_test_static::access in tests/test_plugins/views_test_plugin_access_test_static.inc
Determine if the current user has access or not.

File

plugins/views_plugin_access.inc, line 75
Definition of views_plugin_access.

Class

views_plugin_access
The base plugin to handle access control.

Code

public function access($account) {

  // Default to no access control.
  return TRUE;
}