You are here

public function StorageInterface::delete in Drupal 10

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

1 method overrides StorageInterface::delete()
MemoryStorage::delete in core/lib/Drupal/Core/Config/MemoryStorage.php
Deletes a configuration object from the storage.

File

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

Class

StorageInterface
Defines an interface for configuration storage.

Namespace

Drupal\Core\Config

Code

public function delete($name);