protected function EntityArgument::defineOptions in Geolocation Field 8.2
Same name and namespace in other branches
- 8.3 src/Plugin/views/argument/EntityArgument.php \Drupal\geolocation\Plugin\views\argument\EntityArgument::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 ArgumentPluginBase::defineOptions
File
- src/
Plugin/ views/ argument/ EntityArgument.php, line 71
Class
- EntityArgument
- Argument handler for geolocation.
Namespace
Drupal\geolocation\Plugin\views\argumentCode
protected function defineOptions() {
$options = parent::defineOptions();
$options['geolocation_entity_argument_source'] = [
'default' => '',
];
return $options;
}