function StorageInterface::delete

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Config/StorageInterface.php \Drupal\Core\Config\StorageInterface::delete()
  2. 8.9.x core/lib/Drupal/Core/Config/StorageInterface.php \Drupal\Core\Config\StorageInterface::delete()
  3. 10 core/lib/Drupal/Core/Config/StorageInterface.php \Drupal\Core\Config\StorageInterface::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.

12 methods override StorageInterface::delete()
CachedStorage::delete in core/lib/Drupal/Core/Config/CachedStorage.php
Deletes a configuration object from the storage.
CheckpointStorage::delete in core/lib/Drupal/Core/Config/Checkpoint/CheckpointStorage.php
Deletes a configuration object from the storage.
DatabaseStorage::delete in core/lib/Drupal/Core/Config/DatabaseStorage.php
Implements Drupal\Core\Config\StorageInterface::delete().
FileStorage::delete in core/lib/Drupal/Core/Config/FileStorage.php
Deletes a configuration object from the storage.
ManagedStorage::delete in core/lib/Drupal/Core/Config/ManagedStorage.php
Deletes a configuration object from the storage.

... See full list

File

core/lib/Drupal/Core/Config/StorageInterface.php, line 83

Class

StorageInterface
Defines an interface for configuration storage.

Namespace

Drupal\Core\Config

Code

public function delete($name);

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