You are here

protected function PropertyDate::opBetween in EntityFieldQuery Views Backend 8

Filters by operator between.

Parameters

object $field: The views field.

Overrides Date::opBetween

File

src/Plugin/views/filter/PropertyDate.php, line 23
Contains \Drupal\efq_views\Plugin\views\filter\String.

Class

PropertyDate
Filter handler for date properties.

Namespace

Drupal\efq_views\Plugin\views\filter

Code

protected function opBetween($field) {
  $this->query->query
    ->propertyCondition($field, parent::opBetween($field), 'BETWEEN');
}