public function OpenlayersMap::getControl in Openlayers 8.4
Overrides OpenlayersMapInterface::getControl
File
- src/
Entity/ OpenlayersMap.php, line 214
Class
- OpenlayersMap
- Defines the Openlayers Map entity.
Namespace
Drupal\openlayers\EntityCode
public function getControl($control) {
return $this
->getControls()
->get($control);
}