function BookOutlineStorageInterface::update

Same name in other branches
  1. 8.9.x core/modules/book/src/BookOutlineStorageInterface.php \Drupal\book\BookOutlineStorageInterface::update()
  2. 10 core/modules/book/src/BookOutlineStorageInterface.php \Drupal\book\BookOutlineStorageInterface::update()
  3. 11.x core/modules/book/src/BookOutlineStorageInterface.php \Drupal\book\BookOutlineStorageInterface::update()

Updates book reference for links that were moved between books.

Parameters

int $nid: The nid of the book entry to be updated.

array $fields: The array of fields to be updated.

Return value

mixed The number of rows matched by the update query.

1 method overrides BookOutlineStorageInterface::update()
BookOutlineStorage::update in core/modules/book/src/BookOutlineStorage.php
Updates book reference for links that were moved between books.

File

core/modules/book/src/BookOutlineStorageInterface.php, line 124

Class

BookOutlineStorageInterface
Defines a common interface for book outline storage classes.

Namespace

Drupal\book

Code

public function update($nid, $fields);

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