public function entity_views_handler_field_field::access in Entity API 7
Return TRUE if the user has access to view this field.
Overrides views_handler_field_field::access
File
- views/
handlers/ entity_views_handler_field_field.inc, line 42 - Contains the entity_views_handler_field_field class.
Class
- entity_views_handler_field_field
- A handler to provide proper displays for Field API fields.
Code
public function access() {
return field_access('view', $this->field_info, $this->definition['entity type']);
}