You are here

public function ReadOnlyStorage::delete in Config Filter 8.2

Same name and namespace in other branches
  1. 8 src/Config/ReadOnlyStorage.php \Drupal\config_filter\Config\ReadOnlyStorage::delete()

Deletes a configuration object from the storage.

Parameters

string $name: The name of a configuration object to delete.

Return value

bool TRUE on success, FALSE otherwise.

Overrides StorageInterface::delete

1 method overrides ReadOnlyStorage::delete()
GhostStorage::delete in src/Config/GhostStorage.php
Deletes a configuration object from the storage.

File

src/Config/ReadOnlyStorage.php, line 65

Class

ReadOnlyStorage
Class ReadOnlyStorage.

Namespace

Drupal\config_filter\Config

Code

public function delete($name) {
  throw new UnsupportedMethod(__METHOD__ . ' is not allowed on a ReadOnlyStorage');
}