public function Standard::defineOptions in Views XML Backend 8
Same name in this branch
- 8 src/Plugin/views/filter/Standard.php \Drupal\views_xml_backend\Plugin\views\filter\Standard::defineOptions()
- 8 src/Plugin/views/sort/Standard.php \Drupal\views_xml_backend\Plugin\views\sort\Standard::defineOptions()
- 8 src/Plugin/views/argument/Standard.php \Drupal\views_xml_backend\Plugin\views\argument\Standard::defineOptions()
- 8 src/Plugin/views/field/Standard.php \Drupal\views_xml_backend\Plugin\views\field\Standard::defineOptions()
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 SortPluginBase::defineOptions
File
- src/
Plugin/ views/ sort/ Standard.php, line 38 - Contains \Drupal\views_xml_backend\Plugin\views\sort\Standard.
Class
- Standard
- Default implementation of the base sort plugin.
Namespace
Drupal\views_xml_backend\Plugin\views\sortCode
public function defineOptions() {
$options = parent::defineOptions();
$options['xpath_selector']['default'] = '';
return $options;
}