Issue #3080106 by kiamlaluno: Drupal::config() incorrectly implies you can edit the config it returns (cherry picked from commit ba62e4a9ca1a8b76416bb4afc72f0bd73a76de4b)