public function CumulativeField::query in Views Cumulative Field 8
Sets the initial Cumulative Field data at zero.
Overrides FieldPluginBase::query
File
- src/
Plugin/ views/ field/ CumulativeField.php, line 45 - Defines Drupal\views_cumulative_field\Plugin\views\field\CumulativeField.
Class
- CumulativeField
- Field handler to flag the node type.
Namespace
Drupal\views_cumulative_field\Plugin\views\fieldCode
public function query() {
$this->additional_fields['cumulative_field_data'] = 0;
}