diff --git a/core/lib/Drupal/Core/Menu/MenuTreeStorage.php b/core/lib/Drupal/Core/Menu/MenuTreeStorage.php index f83f5ac..a7df424 100644 --- a/core/lib/Drupal/Core/Menu/MenuTreeStorage.php +++ b/core/lib/Drupal/Core/Menu/MenuTreeStorage.php @@ -284,9 +284,10 @@ public function save(array $link) { protected function doSave(array $link) { $affected_menus = []; - // Get the existing definition if it exist. This does not use + // Get the existing definition if it exists. This does not use // self::loadFull() because we want to compare with $link after calling - // self::preSave() and therefore we need to avoid the unserialization. + // self::preSave() and, therefore, we need to avoid unserialization of + // certain fields. $query = $this->connection->select($this->table, $this->options); $query->fields($this->table); $query->condition('id', $link['id']);