You are here

public function StringEntity::opSimple in Configuration Views 8

Same name and namespace in other branches
  1. 2.0.x src/Plugin/views/filter/StringEntity.php \Drupal\config_views\Plugin\views\filter\StringEntity::opSimple()

Simple operation.

File

src/Plugin/views/filter/StringEntity.php, line 93

Class

StringEntity
Views filter for strings to work with config entities.

Namespace

Drupal\config_views\Plugin\views\filter

Code

public function opSimple($field) {
  $this->query
    ->condition($this->options['group'], $field, $this->value, $this->operator);
}