public function DefaultContentConfigSubscriber::__construct in Default Content for D8 2.0.x
Same name and namespace in other branches
- 8 src/Config/DefaultContentConfigSubscriber.php \Drupal\default_content\Config\DefaultContentConfigSubscriber::__construct()
Constructs a DefaultContentConfigSubscriber object.
Parameters
\Drupal\default_content\ImporterInterface $default_content_importer: The default content importer.
File
- src/
Config/ DefaultContentConfigSubscriber.php, line 28
Class
- DefaultContentConfigSubscriber
- Reacts to configuration events for the Default Content module.
Namespace
Drupal\default_content\ConfigCode
public function __construct(ImporterInterface $default_content_importer) {
$this->defaultContentImporter = $default_content_importer;
}