function views_handler_field_field::add_field_table
Determine if the field table should be added to the query.
1 call to views_handler_field_field::add_field_table()
- views_handler_field_field::query in modules/
field/ views_handler_field_field.inc - Called to add the field to a query.
File
-
modules/
field/ views_handler_field_field.inc, line 290
Class
- views_handler_field_field
- A field that displays fieldapi fields.
Code
public function add_field_table($use_groupby) {
// Grouping is enabled, or we are explicitly required to do this.
if ($use_groupby || !empty($this->definition['add fields to query'])) {
return TRUE;
}
// This a multiple value field, but "group multiple values" is not checked.
if ($this->multiple && !$this->options['group_rows']) {
return TRUE;
}
return FALSE;
}