You are here

protected function TermName::defineOptions in Zircon Profile 8

Same name in this branch
  1. 8 core/modules/taxonomy/src/Plugin/views/argument_validator/TermName.php \Drupal\taxonomy\Plugin\views\argument_validator\TermName::defineOptions()
  2. 8 core/modules/taxonomy/src/Plugin/views/field/TermName.php \Drupal\taxonomy\Plugin\views\field\TermName::defineOptions()
Same name and namespace in other branches
  1. 8.0 core/modules/taxonomy/src/Plugin/views/argument_validator/TermName.php \Drupal\taxonomy\Plugin\views\argument_validator\TermName::defineOptions()

Retrieve the options when this is a new access control plugin

Overrides Entity::defineOptions

File

core/modules/taxonomy/src/Plugin/views/argument_validator/TermName.php, line 45
Contains \Drupal\taxonomy\Plugin\views\argument_validator\TermName.

Class

TermName
Validates whether a term name is a valid term argument.

Namespace

Drupal\taxonomy\Plugin\views\argument_validator

Code

protected function defineOptions() {
  $options = parent::defineOptions();
  $options['transform'] = array(
    'default' => FALSE,
  );
  return $options;
}