1.20.x views_plugin_access.inc views_plugin_access::access($account)

Determine if the current user has access or not.

File

modules/views/plugins/views_plugin_access.inc, line 71
Definition of views_plugin_access.

Class

views_plugin_access
The base plugin to handle access control.

Code

function access($account) {
  // default to no access control.
  return TRUE;
}