function book_node_update
Same name in other branches
- 7.x modules/book/book.module \book_node_update()
- 9 core/modules/book/book.module \book_node_update()
- 8.9.x core/modules/book/book.module \book_node_update()
- 11.x core/modules/book/book.module \book_node_update()
Implements hook_ENTITY_TYPE_update() for node entities.
File
-
core/
modules/ book/ book.module, line 272
Code
function book_node_update(EntityInterface $node) {
/** @var \Drupal\book\BookManagerInterface $book_manager */
$book_manager = \Drupal::service('book.manager');
$book_manager->updateOutline($node);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.