You are here

protected function UserConsentState::opSimple in Data Policy 8

Overrides InOperator::opSimple

File

src/Plugin/views/filter/UserConsentState.php, line 46

Class

UserConsentState
Simple filter to handle matching of multiple user consent states.

Namespace

Drupal\data_policy\Plugin\views\filter

Code

protected function opSimple() {
  foreach ($this->value as $key => $value) {
    if (!is_string($value)) {
      unset($this->value[$key]);
    }
  }
  parent::opSimple();
}