pathauto-8.x-1.8/pathauto.services.yml

pathauto.services.yml
parameters:
  pathauto.skip_procedural_hook_scan: true

services:
  pathauto.generator:
    class: Drupal\pathauto\PathautoGenerator
    arguments: ['@config.factory', '@module_handler', '@token', '@pathauto.alias_cleaner', '@pathauto.alias_storage_helper', '@pathauto.alias_uniquifier', '@pathauto.verbose_messenger', '@string_translation', '@token.entity_mapper', '@entity_type.manager', '@plugin.manager.alias_type']
  Drupal\pathauto\PathautoGeneratorInterface: '@pathauto.generator'
  pathauto.alias_cleaner:
    class: Drupal\pathauto\AliasCleaner
    arguments: ['@config.factory', '@pathauto.alias_storage_helper', '@language_manager', '@cache.discovery', '@transliteration', '@module_handler']
  Drupal\pathauto\AliasCleanerInterface: '@pathauto.alias_cleaner'
  pathauto.alias_storage_helper:
    class: Drupal\pathauto\AliasStorageHelper
    arguments: ['@config.factory', '@path_alias.repository', '@database','@pathauto.verbose_messenger', '@string_translation', '@entity_type.manager']
    tags:
      - { name: backend_overridable }
  Drupal\pathauto\AliasStorageHelperInterface: '@pathauto.alias_storage_helper'
  pathauto.alias_uniquifier:
    class: Drupal\pathauto\AliasUniquifier
    arguments: ['@config.factory', '@pathauto.alias_storage_helper','@module_handler', '@router.route_provider', '@path_alias.manager']
  Drupal\pathauto\AliasUniquifierInterface: '@pathauto.alias_uniquifier'
  pathauto.verbose_messenger:
    class: Drupal\pathauto\VerboseMessenger
    arguments: ['@config.factory', '@current_user', '@messenger']
  Drupal\pathauto\MessengerInterface: '@pathauto.verbose_messenger'
  plugin.manager.alias_type:
    class: Drupal\pathauto\AliasTypeManager
    parent: default_plugin_manager
  pathauto.settings_cache_tag:
    class: Drupal\pathauto\EventSubscriber\PathautoSettingsCacheTag
    arguments: ['@entity_field.manager', '@plugin.manager.alias_type']
    tags:
      - { name: event_subscriber }

  Drupal\pathauto\Hook\PathautoHooks:
    class: Drupal\pathauto\Hook\PathautoHooks
    autowire: true

  Drupal\pathauto\Hook\PathautoEntityHooks:
    class: Drupal\pathauto\Hook\PathautoEntityHooks
    autowire: true

  Drupal\pathauto\Hook\PathautoTokensHooks:
    class: Drupal\pathauto\Hook\PathautoTokensHooks
    autowire: true

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc