public function Base::getOptions in Openlayers 7.3
Return the options array.
Return value
array The array of options.
Overrides ObjectInterface::getOptions
9 calls to Base::getOptions()
- Base::getExport in src/
Types/ Base.php - Return an object, CTools Exportable.
- Base::init in src/
Types/ Base.php - Initializes the object.
- Base::optionsFormSubmit in src/
Types/ Base.php - Submit callback for the options form.
- Circle::optionsFormSubmit in src/
Plugin/ Style/ Circle/ Circle.php - Submit callback for the options form.
- OLMap::optionsForm in src/
Plugin/ Map/ OLMap/ OLMap.php - @TODO What is this return? If it is the form, why is form by reference?
File
- src/
Types/ Base.php, line 64 - Class Object.
Class
- Base
- Class Base.
Namespace
Drupal\openlayers\TypesCode
public function getOptions() {
if (!empty($this->options)) {
return $this->options;
}
else {
$configuration = $this
->getConfiguration();
if (!empty($configuration['options'])) {
return $configuration['options'];
}
}
return array();
}