1 views_handler_field_field.inc 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

core/modules/field/views/views_handler_field_field.inc, line 124
Definition of views_handler_field_field.

Class

views_handler_field_field
A field that displays fieldapi fields.

Code

function access() {
  $base_table = $this->get_base_table();
  return field_access('view', $this->field_info, $this->definition['entity_tables'][$base_table]);
}