function StorableConfigBase::delete

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

Deletes the configuration object.

Must invalidate the cache tags associated with the configuration object.

Return value

$this

2 methods override StorableConfigBase::delete()
Config::delete in core/lib/Drupal/Core/Config/Config.php
Deletes the configuration object.
LanguageConfigOverride::delete in core/modules/language/src/Config/LanguageConfigOverride.php
Deletes the configuration object.

File

core/lib/Drupal/Core/Config/StorableConfigBase.php, line 86

Class

StorableConfigBase
Provides a base class for configuration objects with storage support.

Namespace

Drupal\Core\Config

Code

public abstract function delete();

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