You are here

protected function SynonymsEntity::defineOptions in Synonyms 8

Same name in this branch
  1. 8 synonyms_views_argument_validator/src/Plugin/views/argument_validator/SynonymsEntity.php \Drupal\synonyms_views_argument_validator\Plugin\views\argument_validator\SynonymsEntity::defineOptions()
  2. 8 synonyms_views_filter/src/Plugin/views/filter/SynonymsEntity.php \Drupal\synonyms_views_filter\Plugin\views\filter\SynonymsEntity::defineOptions()
Same name and namespace in other branches
  1. 2.0.x modules/synonyms_views_argument_validator/src/Plugin/views/argument_validator/SynonymsEntity.php \Drupal\synonyms_views_argument_validator\Plugin\views\argument_validator\SynonymsEntity::defineOptions()

Retrieves the options when this is a new access control plugin.

Overrides Entity::defineOptions

File

synonyms_views_argument_validator/src/Plugin/views/argument_validator/SynonymsEntity.php, line 129

Class

SynonymsEntity
Synonyms-friendly entity validator.

Namespace

Drupal\synonyms_views_argument_validator\Plugin\views\argument_validator

Code

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