Skip to content

Instantly share code, notes, and snippets.

@inoryy
Created June 8, 2013 20:19
Show Gist options
  • Save inoryy/5736434 to your computer and use it in GitHub Desktop.
Save inoryy/5736434 to your computer and use it in GitHub Desktop.
--- core/modules/book/book.services.yml
+++ core/modules/book/book.services.yml
@@ -2,3 +2,7 @@
book.manager:
class: Drupal\book\BookManager
arguments: ['@database']
+ access_check.book.removable:
+ class: Drupal\book\Access\BookNodeIsRemovableAccessCheck
+ tags:
+ - { name: access_check }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment