You are here

public function MapControl::label in Openlayers 8.4

File

src/MapControl.php, line 37

Class

MapControl
Contains details of how a control is joined to a map.

Namespace

Drupal\openlayers

Code

public function label() {
  return \Drupal::config('openlayers.control.' . $this->id)
    ->get('label');
}