You are here

public function BookManagerInterface::updateOutline in Drupal 9

Same name and namespace in other branches
  1. 8 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);