You are here

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

Same name and namespace in other branches
  1. 2.0.x src/Commands/DefaultContentCommands.php \Drupal\default_content\Commands\DefaultContentCommands::__construct()

SimplesitemapController constructor.

Parameters

\Drupal\default_content\ExporterInterface $default_content_exporter: The default content exporter.

File

src/Commands/DefaultContentCommands.php, line 28

Class

DefaultContentCommands
Class DefaultContentCommands.

Namespace

Drupal\default_content\Commands

Code

public function __construct(ExporterInterface $default_content_exporter) {
  $this->defaultContentExporter = $default_content_exporter;
}