1 views_plugin_access.inc | views_plugin_access::get_access_callback() |
Determine the access callback and arguments.
This information will be embedded in the menu in order to reduce performance hits during menu item access testing, which happens a lot.
Return value
an array; the first item should be the function to call,: and the second item should be an array of arguments. The first item may also be TRUE (bool only) which will indicate no access control.)
File
- core/
modules/ views/ plugins/ views_plugin_access.inc, line 87 - Definition of views_plugin_access.
Class
- views_plugin_access
- The base plugin to handle access control.
Code
function get_access_callback() {
// default to no access control.
return TRUE;
}