public function OLMap::attached in Openlayers 7.3
Returns a list of attachments for building the render array.
Return value
array The attachments to add.
Overrides Map::attached
File
- src/
Plugin/ Map/ OLMap/ OLMap.php, line 362 - Map: Map.
Class
- OLMap
- Class OLMap.
Namespace
Drupal\openlayers\Plugin\Map\OLMapCode
public function attached() {
return array_merge_recursive(parent::attached(), Openlayers::getAttached());
}