1 config.inc public Config::delete()

Deletes the configuration object.

Return value

Config: The configuration object.

File

core/includes/config.inc, line 832
This is the API for configuration storage.

Class

Config
Defines the default configuration object.

Code

public function delete() {
  $this->data = array();
  $this->storage->delete($this->name);
  $this->isNew = TRUE;
  return $this;
}