function BookManagerInterface::saveBookLink

Same name in other branches
  1. 9 core/modules/book/src/BookManagerInterface.php \Drupal\book\BookManagerInterface::saveBookLink()
  2. 10 core/modules/book/src/BookManagerInterface.php \Drupal\book\BookManagerInterface::saveBookLink()
  3. 11.x core/modules/book/src/BookManagerInterface.php \Drupal\book\BookManagerInterface::saveBookLink()

Saves a single book entry.

Parameters

array $link: The link data to save.

bool $new: Is this a new book.

Return value

array The book data of that node.

1 method overrides BookManagerInterface::saveBookLink()
BookManager::saveBookLink in core/modules/book/src/BookManager.php
Saves a single book entry.

File

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

Class

BookManagerInterface
Provides an interface defining a book manager.

Namespace

Drupal\book

Code

public function saveBookLink(array $link, $new);

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