You are here

public function BookManagerInterface::saveBookLink in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 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 203
Contains \Drupal\book\BookManagerInterface.

Class

BookManagerInterface
Provides an interface defining a book manager.

Namespace

Drupal\book

Code

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