access_policy-1.0.x-dev/access_policy.services.yml

access_policy.services.yml
services:
  plugin.manager.access_policy_operation:
    class: Drupal\access_policy\AccessPolicyOperationPluginManager
    parent: default_plugin_manager
  plugin.manager.access_policy_query:
    class: Drupal\access_policy\AccessPolicyQueryPluginManager
    parent: default_plugin_manager
  plugin.manager.access_policy.access_rule:
    class: Drupal\access_policy\AccessPolicyHandlerManager
    arguments: [access_rule, '@container.namespaces', '@cache.discovery', '@module_handler', '@entity_type.manager', '@access_policy.access_policy_data']
  plugin.manager.access_policy.selection_rule:
    class: Drupal\access_policy\AccessPolicyHandlerManager
    arguments: [selection_rule, '@container.namespaces', '@cache.discovery', '@module_handler', '@entity_type.manager', '@access_policy.access_policy_data']
  plugin.manager.selection_strategy:
    class: Drupal\access_policy\SelectionStrategyPluginManager
    arguments: ['@container.namespaces', '@cache.discovery', '@module_handler']
  access_policy.access_policy_data:
    class: Drupal\access_policy\AccessPolicyData
    arguments: ['@cache.default', '@module_handler']
  plugin.manager.access_rule_widget:
    class: Drupal\access_policy\AccessRuleWidgetPluginManager
    parent: default_plugin_manager
  plugin.manager.access_rule_argument:
    class: Drupal\access_policy\AccessRuleArgumentPluginManager
    parent: default_plugin_manager
  plugin.manager.http_403_response:
    class: Drupal\access_policy\Http403ResponsePluginManager
    parent: default_plugin_manager
  access_policy.content_policy_manager:
    class: Drupal\access_policy\ContentAccessPolicyManager
    arguments: ['@entity_type.manager', '@access_policy.information']
  access_policy.validator:
    class: Drupal\access_policy\AccessPolicyValidator
    arguments: ['@entity_type.manager', '@access_policy.content_policy_manager', '@plugin.manager.access_policy.access_rule', '@plugin.manager.access_policy_operation']
  access_policy.selection:
    class: Drupal\access_policy\AccessPolicySelection
    arguments: ['@entity_type.manager', '@access_policy.entity_type_settings', '@access_policy.discovery', '@plugin.manager.selection_strategy']
  access_policy.discovery:
    class: Drupal\access_policy\AccessPolicyDiscovery
    arguments: ['@entity_type.manager', '@access_policy.information', '@plugin.manager.access_policy.selection_rule']
  access_policy.entity_type_settings:
    class: Drupal\access_policy\EntityTypeSettings
    arguments: [ '@config.factory']
  access_policy.information:
    class: Drupal\access_policy\AccessPolicyInformation
    arguments: ['@entity_type.manager', '@entity_field.manager']
  access_policy.operations_table_ui_builder:
    class: Drupal\access_policy\OperationsTableUiBuilder
    arguments: ['@entity_type.manager', '@plugin.manager.access_policy_operation']
  access_policy.handler_table_ui_builder:
    class: Drupal\access_policy\HandlerTableUiBuilder
    arguments: ['@current_user']
  access_policy.route_subscriber:
    class: Drupal\access_policy\Routing\RouteSubscriber
    arguments: ['@entity_type.manager', '@access_policy.information']
    tags:
      - { name: event_subscriber }
  access_policy.term_hierarchy:
    class: Drupal\access_policy\TermHierarchy
    arguments: ['@database']
  exception.access_policy_html:
    class: Drupal\access_policy\EventSubscriber\AccessPolicyExceptionHtmlSubscriber
    tags:
      - { name: event_subscriber }
    arguments: [ '@http_kernel', '@logger.channel.php', '@redirect.destination', '@router.no_access_checks', '@entity_type.manager', '@access_policy.validator' ]
  user_field_values_hash_generator:
    class: 'Drupal\access_policy\Session\UserFieldValuesHashGenerator'
    arguments: [ '@entity_type.manager', '@plugin.manager.access_policy.access_rule', '@access_policy.information' ]
  cache_context.user.field_values:
    class: 'Drupal\access_policy\Cache\Context\UserFieldValuesCacheContext'
    arguments: [ '@current_user', '@user_field_values_hash_generator']
    tags:
      - { name: 'cache.context' }

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

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