function Field::add_field_table in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/views/src/Plugin/views/field/Field.php \Drupal\views\Plugin\views\field\Field::add_field_table()
Determine if the field table should be added to the query.
1 call to Field::add_field_table()
- Field::query in core/
modules/ views/ src/ Plugin/ views/ field/ Field.php - Called to add the field to a query.
File
- core/
modules/ views/ src/ Plugin/ views/ field/ Field.php, line 265 - Contains \Drupal\views\Plugin\views\field\Field.
Class
- Field
- A field that displays entity field data.
Namespace
Drupal\views\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;
}