function BookManagerInterface::updateOutline

Same name in other branches
  1. 9 core/modules/book/src/BookManagerInterface.php \Drupal\book\BookManagerInterface::updateOutline()
  2. 8.9.x core/modules/book/src/BookManagerInterface.php \Drupal\book\BookManagerInterface::updateOutline()
  3. 10 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.

File

core/modules/book/src/BookManagerInterface.php, line 180

Class

BookManagerInterface
Provides an interface defining a book manager.

Namespace

Drupal\book

Code

public function updateOutline(NodeInterface $node);

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