function BookOutlineStorageInterface::updateMovedChildren

Same name in other branches
  1. 9 core/modules/book/src/BookOutlineStorageInterface.php \Drupal\book\BookOutlineStorageInterface::updateMovedChildren()
  2. 10 core/modules/book/src/BookOutlineStorageInterface.php \Drupal\book\BookOutlineStorageInterface::updateMovedChildren()
  3. 11.x 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);

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