You are here

public function ConfigRevertInterface::import in Configuration Update Manager 8

Imports configuration from extension storage to active storage.

This action triggers a ConfigRevertInterface::IMPORT event if the configuration could be imported.

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 configuration could not be found to import. May also throw exceptions if there is a problem during saving the configuration.

See also

\Drupal\config_update\ConfigRevertInterface::IMPORT

1 method overrides ConfigRevertInterface::import()
ConfigReverter::import in src/ConfigReverter.php
Imports configuration from extension storage to active storage.

File

src/ConfigRevertInterface.php, line 44

Class

ConfigRevertInterface
Defines an interface for config import and revert operations.

Namespace

Drupal\config_update

Code

public function import($type, $name);