Deletes the configuration object.
Drupal\Core\Config\Config The configuration object.
public function delete() {
// @todo Consider to remove the pruning of data for Config::delete().
$this->data = array();
$this->storage
->delete($this->name);
$this->isNew = TRUE;
$this
->resetOverriddenData();
$this
->notify('delete');
return $this;
}