You are here

public function ConfigRevertEvent::__construct in Configuration Update Manager 8

Constructs a new ConfigRevertEvent.

Parameters

string $type: The type of configuration being imported or reverted.

string $name: The name of the config item being imported/reverted, without prefix.

File

src/ConfigRevertEvent.php, line 39

Class

ConfigRevertEvent
Event context class for configuration revert/import events.

Namespace

Drupal\config_update

Code

public function __construct($type, $name) {
  $this->type = $type;
  $this->name = $name;
}