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