function BookManagerInterface::updateOutline

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