public Config::__construct($name, StorageInterface$storage, EventDispatcherInterface$event_dispatcher, TypedConfigManagerInterface$typed_config)
Constructs a configuration object.
string $name: The name of the configuration object being constructed.
\Drupal\Core\Config\StorageInterface $storage: A storage object to use for reading and writing the configuration data.
\Symfony\Component\EventDispatcher\EventDispatcherInterface $event_dispatcher: An event dispatcher instance to use for configuration events.
\Drupal\Core\Config\TypedConfigManagerInterface $typed_config: The typed configuration manager service.
public function __construct($name, StorageInterface $storage, EventDispatcherInterface $event_dispatcher, TypedConfigManagerInterface $typed_config) { $this->name = $name; $this->storage = $storage; $this->eventDispatcher = $event_dispatcher; $this->typedConfigManager = $typed_config; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Config!Config.php/function/Config::__construct/8.1.x