function BookManagerInterface::updateOutline
Same name in other branches
- 9 core/modules/book/src/BookManagerInterface.php \Drupal\book\BookManagerInterface::updateOutline()
- 10 core/modules/book/src/BookManagerInterface.php \Drupal\book\BookManagerInterface::updateOutline()
- 11.x core/modules/book/src/BookManagerInterface.php \Drupal\book\BookManagerInterface::updateOutline()
Handles additions and updates to the book outline.
This common helper function performs all additions and updates to the book outline through node addition, node editing, node deletion, or the outline tab.
Parameters
\Drupal\node\NodeInterface $node: The node that is being saved, added, deleted, or moved.
Return value
bool TRUE if the book link was saved; FALSE otherwise.
1 method overrides BookManagerInterface::updateOutline()
- BookManager::updateOutline in core/
modules/ book/ src/ BookManager.php - Handles additions and updates to the book outline.
File
-
core/
modules/ book/ src/ BookManagerInterface.php, line 183
Class
- BookManagerInterface
- Provides an interface defining a book manager.
Namespace
Drupal\bookCode
public function updateOutline(NodeInterface $node);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.