You are here

public function BookOutlineStorageInterface::updateMovedChildren in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/book/src/BookOutlineStorageInterface.php \Drupal\book\BookOutlineStorageInterface::updateMovedChildren()

Update the book ID of the book link that it's being moved.

Parameters

int $bid: The ID of the book whose children we move.

array $original: The original parent of the book link.

array $expressions: Array of expressions to be added to the query.

int $shift: The difference in depth between the old and the new position of the element being moved.

Return value

mixed The number of rows matched by the update query.

1 method overrides BookOutlineStorageInterface::updateMovedChildren()
BookOutlineStorage::updateMovedChildren in core/modules/book/src/BookOutlineStorage.php
Update the book ID of the book link that it's being moved.

File

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

Class

BookOutlineStorageInterface
Defines a common interface for book outline storage classes.

Namespace

Drupal\book

Code

public function updateMovedChildren($bid, $original, $expressions, $shift);