public function MarkdownConfig::__construct in Markdown 8.2
Constructs a configuration object.
Parameters
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.
Overrides Config::__construct
File
- src/
Config/ MarkdownConfig.php, line 34
Class
- MarkdownConfig
- Markdown Config.
Namespace
Drupal\markdown\ConfigCode
public function __construct($name, StorageInterface $storage, EventDispatcherInterface $event_dispatcher, TypedConfigManagerInterface $typed_config, array $data = NULL) {
parent::__construct($name, $storage, $event_dispatcher, $typed_config);
if (isset($data)) {
$this
->initWithData($data);
}
}