protected function TermMachineName::defineOptions in Taxonomy Machine Name 8
Retrieves the options when this is a new access control plugin.
Overrides Entity::defineOptions
File
- src/
Plugin/ views/ argument_validator/ TermMachineName.php, line 41
Class
- TermMachineName
- Validates whether a term machine name is a valid term argument.
Namespace
Drupal\taxonomy_machine_name\Plugin\views\argument_validatorCode
protected function defineOptions() {
$options = parent::defineOptions();
$options['transform'] = [
'default' => TRUE,
];
return $options;
}