function InstallStorage::delete

Same name in other branches
  1. 9 core/lib/Drupal/Core/Config/InstallStorage.php \Drupal\Core\Config\InstallStorage::delete()
  2. 8.9.x core/lib/Drupal/Core/Config/InstallStorage.php \Drupal\Core\Config\InstallStorage::delete()
  3. 10 core/lib/Drupal/Core/Config/InstallStorage.php \Drupal\Core\Config\InstallStorage::delete()

Overrides Drupal\Core\Config\FileStorage::delete().

Throws

\Drupal\Core\Config\StorageException

Overrides FileStorage::delete

File

core/lib/Drupal/Core/Config/InstallStorage.php, line 112

Class

InstallStorage
Storage used by the Drupal installer.

Namespace

Drupal\Core\Config

Code

public function delete($name) {
    throw new StorageException('Delete operation is not allowed.');
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.