views.services.yml 4.49 KB
Newer Older
1 2 3
services:
  plugin.manager.views.access:
    class: Drupal\views\Plugin\ViewsPluginManager
4
    arguments: [access, '@container.namespaces', '@cache.views_info', '@language_manager', '@module_handler']
5
  plugin.manager.views.area:
6
    class: Drupal\views\Plugin\ViewsHandlerManager
7
    arguments: [area, '@container.namespaces', '@views.views_data']
8
  plugin.manager.views.argument:
9
    class: Drupal\views\Plugin\ViewsHandlerManager
10
    arguments: [argument, '@container.namespaces', '@views.views_data']
11 12
  plugin.manager.views.argument_default:
    class: Drupal\views\Plugin\ViewsPluginManager
13
    arguments: [argument_default, '@container.namespaces', '@cache.views_info', '@language_manager', '@module_handler']
14 15
  plugin.manager.views.argument_validator:
    class: Drupal\views\Plugin\ViewsPluginManager
16
    arguments: [argument_validator, '@container.namespaces', '@cache.views_info', '@language_manager', '@module_handler']
17 18
  plugin.manager.views.cache:
    class: Drupal\views\Plugin\ViewsPluginManager
19
    arguments: [cache, '@container.namespaces', '@cache.views_info', '@language_manager', '@module_handler']
20 21
  plugin.manager.views.display_extender:
    class: Drupal\views\Plugin\ViewsPluginManager
22
    arguments: [display_extender, '@container.namespaces', '@cache.views_info', '@language_manager', '@module_handler']
23 24
  plugin.manager.views.display:
    class: Drupal\views\Plugin\ViewsPluginManager
25
    arguments: [display, '@container.namespaces', '@cache.views_info', '@language_manager', '@module_handler']
26 27
  plugin.manager.views.exposed_form:
    class: Drupal\views\Plugin\ViewsPluginManager
28
    arguments: [exposed_form, '@container.namespaces', '@cache.views_info', '@language_manager', '@module_handler']
29
  plugin.manager.views.field:
30
    class: Drupal\views\Plugin\ViewsHandlerManager
31
    arguments: [field, '@container.namespaces', '@views.views_data']
32
  plugin.manager.views.filter:
33
    class: Drupal\views\Plugin\ViewsHandlerManager
34
    arguments: [filter, '@container.namespaces', '@views.views_data']
35
  plugin.manager.views.join:
36
    class: Drupal\views\Plugin\ViewsHandlerManager
37
    arguments: [join, '@container.namespaces', '@views.views_data']
38 39
  plugin.manager.views.pager:
    class: Drupal\views\Plugin\ViewsPluginManager
40
    arguments: [pager, '@container.namespaces', '@cache.views_info', '@language_manager', '@module_handler']
41 42
  plugin.manager.views.query:
    class: Drupal\views\Plugin\ViewsPluginManager
43
    arguments: [query, '@container.namespaces', '@cache.views_info', '@language_manager', '@module_handler']
44
  plugin.manager.views.relationship:
45
    class: Drupal\views\Plugin\ViewsHandlerManager
46
    arguments: [relationship, '@container.namespaces', '@views.views_data']
47 48
  plugin.manager.views.row:
    class: Drupal\views\Plugin\ViewsPluginManager
49
    arguments: [row, '@container.namespaces', '@cache.views_info', '@language_manager', '@module_handler']
50
  plugin.manager.views.sort:
51
    class: Drupal\views\Plugin\ViewsHandlerManager
52
    arguments: [sort, '@container.namespaces', '@views.views_data']
53 54
  plugin.manager.views.style:
    class: Drupal\views\Plugin\ViewsPluginManager
55
    arguments: [style, '@container.namespaces', '@cache.views_info', '@language_manager', '@module_handler']
56 57
  plugin.manager.views.wizard:
    class: Drupal\views\Plugin\ViewsPluginManager
58
    arguments: [wizard, '@container.namespaces', '@cache.views_info', '@language_manager', '@module_handler']
59
  views.views_data:
60
    class: Drupal\views\ViewsData
61 62 63 64
    arguments: ['@cache.views_info', '@config.factory', '@module_handler', '@language_manager']
  views.views_data_helper:
    class: Drupal\views\ViewsDataHelper
    arguments: ['@views.views_data']
65 66
  views.executable:
    class: Drupal\views\ViewExecutableFactory
67
    arguments: ['@current_user']
68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84
  views.analyzer:
    class: Drupal\views\Analyzer
    arguments: ['@module_handler']
  cache.views_info:
    class: Drupal\Core\Cache\CacheBackendInterface
    tags:
      - { name: cache.bin }
    factory_method: get
    factory_service: cache_factory
    arguments: [views_info]
  cache.views_results:
    class: Drupal\Core\Cache\CacheBackendInterface
    tags:
      - { name: cache.bin }
    factory_method: get
    factory_service: cache_factory
    arguments: [views_results]
85 86
  views.route_subscriber:
    class: Drupal\views\EventSubscriber\RouteSubscriber
87
    arguments: ['@entity.manager', '@state']
88 89
    tags:
      - { name: 'event_subscriber' }
90
      - { name: 'needs_destruction' }
91 92 93 94
  views.route_access_check:
    class: Drupal\views\ViewsAccessCheck
    tags:
      - { name: 'access_check' }