SU-SWS/stanford_profile_helper

View on GitHub
stanford_profile_helper.services.yml

Summary

Maintainability
Test Coverage
services:
  stanford_profile_helper.default_content:
    class: Drupal\stanford_profile_helper\StanfordDefaultContent
    arguments: ['@entity_type.manager', '@config.factory', '@extension.path.resolver']
  stanford_profile_helper.event_subscriber.search_api:
    class: Drupal\stanford_profile_helper\EventSubscriber\SearchApiEventSubscriber
    arguments: ['@config.factory']
    tags:
      - { name: 'event_subscriber' }
  stanford_profile_helper.event_subscriber.views:
    class: Drupal\stanford_profile_helper\EventSubscriber\ViewsEventSubscriber
    arguments: [ ]
    tags:
      - { name: 'event_subscriber' }
  stanford_profile_helper.event_subscriber.entity:
    class: Drupal\stanford_profile_helper\EventSubscriber\EntityEventSubscriber
    arguments: ['@stanford_profile_helper.default_content', '@state', '@entity_type.manager']
    tags:
      - { name: 'event_subscriber' }
  stanford_profile_helper.event_subscriber.preprocess:
    class: Drupal\stanford_profile_helper\EventSubscriber\PreprocessEventSubscriber
    arguments: ['@rabbit_hole.behavior_invoker', '@plugin.manager.rabbit_hole_behavior_plugin']
    tags:
      - { name: 'event_subscriber' }
  stanford_profile_helper.event_subscriber.form:
    class: Drupal\stanford_profile_helper\EventSubscriber\FormEventSubscriber
    arguments: ['@current_user', '@state']
    tags:
      - { name: event_subscriber }
  stanford_profile_helper.config_overrider:
    class: Drupal\stanford_profile_helper\Config\ConfigOverrides
    arguments: ['@state', '@config_pages.loader', '@config.factory', '@entity_type.manager', '@stream_wrapper_manager']
    tags:
      - {name: config.factory.override, priority: 5}
  stanford_profile_helper.menu_link_tree:
    class: Drupal\stanford_profile_helper\MenuLinkTreeOverride
    decorates: menu.link_tree
    public: false
    arguments: ['@stanford_profile_helper.menu_link_tree.inner']
  stanford_profile_helper.cache_context.route.menu_active_trails:
    class: Drupal\stanford_profile_helper\MenuActiveTrailsCacheContextOverride
    decorates: cache_context.route.menu_active_trails
    pubic: false
    arguments: ['@stanford_profile_helper.cache_context.route.menu_active_trails.inner']