function views_handler_field_field::access
Check whether current user has access to this handler.
Return value
bool Return TRUE if the user has access to view this field.
Overrides views_handler::access
File
-
modules/
field/ views_handler_field_field.inc, line 128
Class
- views_handler_field_field
- A field that displays fieldapi fields.
Code
public function access() {
$base_table = $this->get_base_table();
return isset($this->definition['entity_tables'][$base_table]) && field_access('view', $this->field_info, $this->definition['entity_tables'][$base_table]);
}