| 1 handlers.inc | views_handler::access() | 
Check whether current user has access to this handler.
Return value
boolean:
File
- core/modules/ views/ includes/ handlers.inc, line 461 
- Defines the various handler objects to help build and display views.
Class
- views_handler
- Base handler, from which all the other handlers are derived. It creates a common interface to create consistency amongst handlers and data.
Code
function access() {
  if (isset($this->definition['access callback']) && function_exists($this->definition['access callback'])) {
    if (isset($this->definition['access arguments']) && is_array($this->definition['access arguments'])) {
      return call_user_func_array($this->definition['access callback'], $this->definition['access arguments']);
    }
    return $this->definition['access callback']();
  }
  return TRUE;
}
