public BookOutlineStorageInterface::insert($link, $parents)
Inserts a book link.
Parameters
array $link: The link array to be inserted in the database.
array $parents: The array of parent ids for the link to be inserted.
Return value
mixed The last insert ID of the query, if one exists.
File
core/modules/book/src/BookOutlineStorageInterface.php, line 111
Class
BookOutlineStorageInterface Defines a common interface for book outline storage classes.
Namespace
Drupal\book
Code
public fu