Implements Drupal\Core\Config\StorageInterface::delete().
Overrides StorageInterface::delete
public function delete($name) {
if (!$this
->exists($name)) {
if (!file_exists($this->directory)) {
throw new StorageException($this->directory . '/ not found.');
}
return FALSE;
}
return drupal_unlink($this
->getFilePath($name));
}