Same filename and directory in other branches
  1. 8.9.x core/modules/book/book.services.yml
  2. 9 core/modules/book/book.services.yml
core/modules/book/book.services.yml

File

core/modules/book/book.services.yml
View source
  1. services:
  2. book.breadcrumb:
  3. class: Drupal\book\BookBreadcrumbBuilder
  4. arguments: ['@entity_type.manager', '@current_user', '@entity.repository', '@language_manager']
  5. tags:
  6. - { name: breadcrumb_builder, priority: 701 }
  7. book.manager:
  8. class: Drupal\book\BookManager
  9. arguments: ['@entity_type.manager', '@string_translation', '@config.factory', '@book.outline_storage', '@renderer', '@language_manager', '@entity.repository', '@book.backend_chained_cache', '@book.memory_cache']
  10. lazy: true
  11. Drupal\book\BookManagerInterface: '@book.manager'
  12. book.outline:
  13. class: Drupal\book\BookOutline
  14. arguments: ['@book.manager']
  15. Drupal\book\BookOutline: '@book.outline'
  16. book.export:
  17. class: Drupal\book\BookExport
  18. arguments: ['@entity_type.manager', '@book.manager', '@entity.repository']
  19. Drupal\book\BookExport: '@book.export'
  20. book.outline_storage:
  21. class: Drupal\book\BookOutlineStorage
  22. arguments: ['@database']
  23. tags:
  24. - { name: backend_overridable }
  25. Drupal\book\BookOutlineStorageInterface: '@book.outline_storage'
  26. access_check.book.removable:
  27. class: Drupal\book\Access\BookNodeIsRemovableAccessCheck
  28. arguments: ['@book.manager']
  29. tags:
  30. - { name: access_check, applies_to: _access_book_removable }
  31. cache_context.route.book_navigation:
  32. class: Drupal\book\Cache\BookNavigationCacheContext
  33. arguments: ['@current_route_match', '@book.manager']
  34. tags:
  35. - { name: cache.context}
  36. book.uninstall_validator:
  37. class: Drupal\book\BookUninstallValidator
  38. tags:
  39. - { name: module_install.uninstall_validator }
  40. arguments: ['@book.outline_storage', '@entity_type.manager', '@string_translation']
  41. lazy: true
  42. book.memory_cache:
  43. class: Drupal\Core\Cache\MemoryCache\MemoryCacheInterface
  44. tags:
  45. - { name: cache.bin.memory, default_backend: cache.backend.memory.memory }
  46. factory: ['@cache_factory', 'get']
  47. arguments: [memory_cache]
  48. book.backend_chained_cache:
  49. class: Drupal\Core\Cache\BackendChain
  50. calls:
  51. - [appendBackend, ['@book.memory_cache']]
  52. - [appendBackend, ['@cache.data']]
  53. tags:
  54. # This tag ensures that Drupal's cache_tags.invalidator service
  55. # invalidates also this cache data.
  56. - { name: cache.bin.memory }

Services