You are here

public function BookManagerInterface::saveBookLink in Drupal 8

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