book.services.yml

Same filename in other branches
  1. 8.9.x core/modules/book/book.services.yml
  2. 10 core/modules/book/book.services.yml
  3. 11.x 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. book.outline:
  11. class: Drupal\book\BookOutline
  12. arguments: ['@book.manager']
  13. book.export:
  14. class: Drupal\book\BookExport
  15. arguments: ['@entity_type.manager', '@book.manager', '@entity.repository']
  16. book.outline_storage:
  17. class: Drupal\book\BookOutlineStorage
  18. arguments: ['@database']
  19. tags:
  20. - { name: backend_overridable }
  21. access_check.book.removable:
  22. class: Drupal\book\Access\BookNodeIsRemovableAccessCheck
  23. arguments: ['@book.manager']
  24. tags:
  25. - { name: access_check, applies_to: _access_book_removable }
  26. cache_context.route.book_navigation:
  27. class: Drupal\book\Cache\BookNavigationCacheContext
  28. arguments: ['@current_route_match']
  29. calls:
  30. - [setContainer, ['@service_container']]
  31. tags:
  32. - { name: cache.context}
  33. book.uninstall_validator:
  34. class: Drupal\book\BookUninstallValidator
  35. tags:
  36. - { name: module_install.uninstall_validator }
  37. arguments: ['@book.outline_storage', '@entity_type.manager', '@string_translation']
  38. lazy: true
  39. book.memory_cache:
  40. class: Drupal\Core\Cache\MemoryCache\MemoryCache
  41. book.backend_chained_cache:
  42. class: Drupal\Core\Cache\BackendChain
  43. calls:
  44. - [appendBackend, ['@book.memory_cache']]
  45. - [appendBackend, ['@cache.data']]
  46. tags:
  47. # This tag ensures that Drupal's cache_tags.invalidator service
  48. # invalidates also this cache data.
  49. - { name: cache.bin }

Services

Title Deprecated Summary
access_check.book.removable Drupal\book\Access\BookNodeIsRemovableAccessCheck
book.backend_chained_cache Drupal\Core\Cache\BackendChain
book.breadcrumb Drupal\book\BookBreadcrumbBuilder
book.export Drupal\book\BookExport
book.manager Drupal\book\BookManager
book.memory_cache Drupal\Core\Cache\MemoryCache\MemoryCache
book.outline Drupal\book\BookOutline
book.outline_storage Drupal\book\BookOutlineStorage
book.uninstall_validator Drupal\book\BookUninstallValidator
cache_context.route.book_navigation Drupal\book\Cache\BookNavigationCacheContext

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.