You are here

service leaflet.service in Leaflet 2.0.x

Same name and namespace in other branches
  1. 8 leaflet.services.yml \leaflet.service
  2. 2.1.x leaflet.services.yml \leaflet.service

Class

Drupal\leaflet\LeafletService
5 string references to leaflet.service
Leaflet::create in modules/leaflet_views/src/Plugin/views/style/Leaflet.php
Creates an instance of the plugin.
LeafletDefaultFormatter::create in src/Plugin/Field/FieldFormatter/LeafletDefaultFormatter.php
Creates an instance of the plugin.
LeafletDefaultWidget::create in src/Plugin/Field/FieldWidget/LeafletDefaultWidget.php
LeafletMap::create in modules/leaflet_views/src/Plugin/views/style/LeafletMap.php
Creates an instance of the plugin.
LeafletMarker::create in modules/leaflet_views/src/Plugin/views/row/LeafletMarker.php
Creates an instance of the plugin.

File

./leaflet.services.yml
leaflet.services.yml

View source
  1. class: Drupal\leaflet\LeafletService
  2. arguments:
  3. - '@current_user'
  4. - '@geofield.geophp'
  5. - '@module_handler'
  6. - '@link_generator'