function ContentExportCommand::__construct
Same name in this branch
- 11.x core/lib/Drupal/Core/DefaultContent/ContentExportCommand.php \Drupal\Core\DefaultContent\ContentExportCommand::__construct()
Same name and namespace in other branches
- main core/lib/Drupal/Core/DefaultContent/ContentExportCommand.php \Drupal\Core\DefaultContent\ContentExportCommand::__construct()
- main core/lib/Drupal/Core/DefaultContent/Command/ContentExportCommand.php \Drupal\Core\DefaultContent\Command\ContentExportCommand::__construct()
File
-
core/
lib/ Drupal/ Core/ DefaultContent/ Command/ ContentExportCommand.php, line 37
Class
- ContentExportCommand
- Exports content entities in YAML format.
Namespace
Drupal\Core\DefaultContent\CommandCode
public function __construct(protected EntityTypeManagerInterface $entityTypeManager, protected EntityTypeBundleInfoInterface $entityBundleInfo, protected Exporter $exporter, protected FileSystemInterface $fileSystem) {
parent::__construct();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.