diff --git a/core/lib/Drupal/Core/Config/DrupalConfig.php b/core/lib/Drupal/Core/Config/DrupalConfig.php
index 71f2095..0f2f305 100644
--- a/core/lib/Drupal/Core/Config/DrupalConfig.php
+++ b/core/lib/Drupal/Core/Config/DrupalConfig.php
@@ -205,4 +205,25 @@ class DrupalConfig {
     $this->data = array();
     $this->_verifiedStorage->delete();
   }
+
+  /**
+   * Reverts data in config object to the module provided default.
+   *
+   * @param $key
+   *   A string that maps to a key within the configuration data.
+   */
+  public function revert($key) {
+    $config_name = $this->_verifiedStorage->getName();
+    // Get the module from the config name. Config files should always start
+    // with the module name.
+    $module = array_shift(explode('.', $config_name, 2));
+    $module_config_file = drupal_get_path('module', $module) . '/config/' . $config_name . '.xml';
+
+    if (is_file($module_config_file)) {
+      $data = config_decode(file_get_contents($module_config_file));
+      if (isset($data[$key])) {
+        $this->set($key, $data[$key]);
+      }
+    }
+  }
 }
