public function OpenlayersMap::getPluginCollections in Openlayers 8.4
Gets the plugin collections used by this object.
Return value
\Drupal\Component\Plugin\LazyPluginCollection[] An array of plugin collections, keyed by the property name they use to store their configuration.
Overrides ObjectWithPluginCollectionInterface::getPluginCollections
File
- src/
Entity/ OpenlayersMap.php, line 149
Class
- OpenlayersMap
- Defines the Openlayers Map entity.
Namespace
Drupal\openlayers\EntityCode
public function getPluginCollections() {
return [
'styles' => $this
->getStyles(),
'controls' => $this
->getControls(),
'interactions' => $this
->getInteractions(),
];
}