Skip to content
Snippets Groups Projects
Commit d5de573d authored by catch's avatar catch
Browse files

Issue #2113349 by Xano: Fixed Rename \Drupal\book\BookManager::updateID() to updateId().

parent a7f28c12
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -323,7 +323,7 @@ public function updateOutline(NodeInterface $node) {
':nid' => $node->id(),
))->fetchField()) {
// Update the bid for this page and all children.
$this->updateID($node->book);
$this->updateId($node->book);
}
}
......@@ -362,7 +362,7 @@ public function createMenuName($id) {
* @param array $book_link
* A fully loaded menu link that is part of the book hierarchy.
*/
public function updateID($book_link) {
public function updateId($book_link) {
$query = $this->connection->select('menu_links');
$query->addField('menu_links', 'mlid');
for ($i = 1; $i <= MENU_MAX_DEPTH && $book_link["p$i"]; $i++) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment