improvements-2.x-dev/improvements.services.yml

improvements.services.yml
services:

  improvements.event_subscriber:
    class: Drupal\improvements\ImprovementsEventSubscriber
    tags:
      - { name: event_subscriber }

  improvements.twig_extension:
    class: Drupal\improvements\ImprovementsTwigExtension
    tags:
      - { name: twig.extension }

  access_check.entity_uuid:
    class: Drupal\improvements\Access\EntityUuidAccessCheck
    tags:
      - { name: access_check, applies_to: _entity_uuid, needs_incoming_request: TRUE }

  cache_context.cookies_hash:
    class: Drupal\improvements\Cache\CookiesHashCacheContext
    arguments: ['@request_stack']
    tags:
      - { name: cache.context }

  cache_context.entity_field:
    class: Drupal\improvements\Cache\EntityFieldCacheContext
    arguments: ['@current_route_match']
    tags:
      - { name: cache.context }

  cache_context.entity_type:
    class: Drupal\improvements\Cache\EntityTypeCacheContext
    arguments: ['@current_route_match']
    tags:
      - { name: cache.context }

  cache_context.is_entity_page:
    class: Drupal\improvements\Cache\IsEntityPageCacheContext
    arguments: ['@current_route_match']
    tags:
      - { name: cache.context }

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

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