function FieldDate::opBetween in EntityFieldQuery Views Backend 8
Filters by operator between.
Parameters
object $field: The views field.
Overrides Date::opBetween
File
- src/
Plugin/ views/ filter/ FieldDate.inc, line 22 - Contains \Drupal\efq_views\Plugin\views\filter\FieldDate.
Class
- FieldDate
- Filter handler for date fields.
Namespace
Drupal\efq_views\Plugin\views\filterCode
function opBetween($field) {
$this->query->query
->fieldCondition($this->definition['field_name'], $this->real_field, 'value', parent::opBetween($field), 'BETWEEN');
}