simple_sitemap.services.yml 1010 Bytes
Newer Older
Pawel G's avatar
Pawel G committed
1
services:
2 3
  simple_sitemap.generator:
    class: Drupal\simple_sitemap\Simplesitemap
4 5 6 7 8 9 10 11
    public: true
    arguments:
      - @simple_sitemap.sitemap_generator
      - @config.factory
      - @database
      - @entity_type.manager
      - @path.validator
      - @date.formatter
12 13 14

  simple_sitemap.sitemap_generator:
    class: Drupal\simple_sitemap\SitemapGenerator
15 16 17 18 19 20
    public: false
    arguments:
      - @simple_sitemap.batch
      - @database
      - @module_handler
      - @language_manager
21 22

  simple_sitemap.form:
23
    class: Drupal\simple_sitemap\Form\Form
24 25 26 27
    public: true
    arguments:
      - @simple_sitemap.generator
      - @current_user
28

29 30
  simple_sitemap.batch:
    class: Drupal\simple_sitemap\Batch\Batch
31
    public: false
32

33 34
  simple_sitemap.batch_url_generator:
    class: Drupal\simple_sitemap\Batch\BatchUrlGenerator
35 36 37 38 39 40 41
    public: true
    arguments:
      - @simple_sitemap.sitemap_generator
      - @language_manager
      - @entity_type.manager
      - @path.validator
      - @entity.query