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

Issue #1739900 by alexpott: Added a rename operation to config storage controllers.

parent 92548664
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
...@@ -108,7 +108,7 @@ public function delete($name) { ...@@ -108,7 +108,7 @@ public function delete($name) {
} }
/** /**
* Implements Drupal\Core\Config\StorageInterface::delete(). * Implements Drupal\Core\Config\StorageInterface::rename().
*/ */
public function rename($name, $new_name) { public function rename($name, $new_name) {
$status = @rename($this->getFilePath($name), $this->getFilePath($new_name)); $status = @rename($this->getFilePath($name), $this->getFilePath($new_name));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment