simple_sitemap.services.yml 878 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 12
    arguments: ['@config.factory', '@database', '@entity_type.manager']

  simple_sitemap.sitemap_generator:
    class: Drupal\simple_sitemap\SitemapGenerator
    arguments: ['@simple_sitemap.generator', '@database', '@language_manager', '@module_handler']

  simple_sitemap.form:
    class: Drupal\simple_sitemap\Form
    arguments: ['@simple_sitemap.generator']
13 14 15 16 17 18 19 20

  simple_sitemap.bundle_url_generator:
    class: Drupal\simple_sitemap\BatchBundleUrlGenerator
    arguments: ['@simple_sitemap.generator', '@language_manager', '@entity_type.manager', '@path.validator', '@entity.query']

  simple_sitemap.custom_url_generator:
    class: Drupal\simple_sitemap\BatchCustomUrlGenerator
    arguments: ['@simple_sitemap.generator', '@language_manager', '@entity_type.manager', '@path.validator']