book.services.yml 635 Bytes
Newer Older
1
services:
2 3
  book.breadcrumb:
    class: Drupal\book\BookBreadcrumbBuilder
4
    arguments: ['@entity.manager', '@access_manager', '@current_user']
5 6
    tags:
      - { name: breadcrumb_builder, priority: 701 }
7 8
  book.manager:
    class: Drupal\book\BookManager
9
    arguments: ['@database', '@entity.manager', '@string_translation', '@config.factory']
10 11 12
  book.export:
    class: Drupal\book\BookExport
    arguments: ['@entity.manager']
13 14 15 16 17

  access_check.book.removable:
    class: Drupal\book\Access\BookNodeIsRemovableAccessCheck
    arguments: ['@book.manager']
    tags:
18
      - { name: access_check, applies_to: _access_book_removable }