protected function JumpMenu::defineOptions in Views Jump Menu 8
Information about options for all kinds of purposes will be held here.
'option_name' => array(
- 'default' => default value,
- 'contains' => (optional) array of items this contains, with its own
defaults, etc. If contains is set, the default will be ignored and
assumed to be array().
),
Return value
array Returns the options of this handler/plugin.
Overrides StylePluginBase::defineOptions
File
- src/
Plugin/ views/ style/ JumpMenu.php, line 41
Class
- JumpMenu
- Class JumpMenu.
Namespace
Drupal\views_jump_menu\Plugin\views\styleCode
protected function defineOptions() {
$options = parent::defineOptions();
$options['class'] = [
'default' => '',
];
$options['wrapper_class'] = [
'default' => '',
];
$options['label_field'] = [
'default' => '',
];
$options['url_field'] = [
'default' => '',
];
$options['url_field'] = [
'default' => FALSE,
];
$options['select_text'] = [
'default' => '-- Select --',
];
$options['select_label'] = [
'default' => '',
];
return $options;
}