function Field::add_field_table in Views (for Drupal 7) 8.3
Determine if the field table should be added to the query.
1 call to Field::add_field_table()
- Field::query in lib/
Views/ field/ Plugin/ views/ field/ Field.php - Called to add the field to a query.
File
- lib/
Views/ field/ Plugin/ views/ field/ Field.php, line 208 - Definition of Views\field\Plugin\views\field\Field.
Class
- Field
- A field that displays fieldapi fields.
Namespace
Views\field\Plugin\views\fieldCode
function add_field_table($use_groupby) {
// Grouping is enabled.
if ($use_groupby) {
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;
}