You are here

public function DefaultContentConfigSubscriber::__construct in Default Content for D8 8

Same name and namespace in other branches
  1. 2.0.x 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\Config

Code

public function __construct(ImporterInterface $default_content_importer) {
  $this->defaultContentImporter = $default_content_importer;
}