protected function Control::defineOptions in Styled Google Map 8.2
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 Text::defineOptions
File
- src/
Plugin/ views/ area/ Control.php, line 44
Class
- Control
- Views area text handler.
Namespace
Drupal\styled_google_map\Plugin\views\areaCode
protected function defineOptions() {
$options = parent::defineOptions();
$options['position'] = [
'default' => 'TOP_LEFT',
];
return $options;
}