You are here

public function ConfigDeleteInterface::delete in Configuration Update Manager 8

Deletes a configuration item.

This action triggers a ConfigDeleteInterface::DELETE event.

Parameters

string $type: The type of configuration.

string $name: The name of the config item, without the prefix.

Return value

bool TRUE if the operation succeeded; FALSE if the base configuration could not be found to delete. May also throw exceptions if there is a problem during deleting the configuration.

See also

\Drupal\config_update\ConfigDeleteInterface::DELETE

1 method overrides ConfigDeleteInterface::delete()
ConfigReverter::delete in src/ConfigReverter.php
Deletes a configuration item.

File

src/ConfigDeleteInterface.php, line 35

Class

ConfigDeleteInterface
Defines an interface for deleting config items.

Namespace

Drupal\config_update

Code

public function delete($type, $name);