Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ImmutableConfig.php

function ImmutableConfig::delete

Overrides Config::delete

File

core/lib/Drupal/Core/Config/ImmutableConfig.php, line 47

Class

ImmutableConfig
Defines the immutable configuration object.

Namespace

Drupal\Core\Config

Code

public function delete() {
    throw new ImmutableConfigException("Can not delete immutable configuration {$this->getName()}. Use \\Drupal\\Core\\Config\\ConfigFactoryInterface::getEditable() to retrieve a mutable configuration object");
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal