1 config.inc public Config::__construct($name, ConfigStorageInterface $storage)

Constructs a configuration object.

Parameters

string $name: The name of the configuration object being constructed.

ConfigStorageInterface $storage: A storage controller object to use for reading and writing the configuration data.

File

core/includes/config.inc, line 425
This is the API for configuration storage.

Class

Config
Defines the default configuration object.

Code

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