You are here

public function MaestroEngineTemplateFilter::validate in Maestro 8.2

Same name and namespace in other branches
  1. 3.x src/Plugin/views/filter/MaestroEngineTemplateFilter.php \Drupal\maestro\Plugin\views\filter\MaestroEngineTemplateFilter::validate()

Skip validation if no options have been chosen so we can use it as a non-filter.

Overrides InOperator::validate

File

src/Plugin/views/filter/MaestroEngineTemplateFilter.php, line 42

Class

MaestroEngineTemplateFilter
Filter for Maestro Template names.

Namespace

Drupal\maestro\Plugin\views\filter

Code

public function validate() {
  if (!empty($this->value)) {
    parent::validate();
  }
}