public function BookOutlineStorageInterface::insert in Drupal 8
Same name and namespace in other branches
- 9 core/modules/book/src/BookOutlineStorageInterface.php \Drupal\book\BookOutlineStorageInterface::insert()
- 10 core/modules/book/src/BookOutlineStorageInterface.php \Drupal\book\BookOutlineStorageInterface::insert()
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.
1 method overrides BookOutlineStorageInterface::insert()
- BookOutlineStorage::insert in core/
modules/ book/ src/ BookOutlineStorage.php - Inserts a book link.
File
- core/
modules/ book/ src/ BookOutlineStorageInterface.php, line 111
Class
- BookOutlineStorageInterface
- Defines a common interface for book outline storage classes.
Namespace
Drupal\bookCode
public function insert($link, $parents);