public function DeployManager::__construct in Default Content Deploy 8
DeployManager constructor.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
\Drupal\Core\Config\ConfigFactoryInterface $config: The config factory.
\Drupal\Core\Site\Settings $settings: Site settings.
\Drupal\Core\File\FileSystemInterface $file_system: The File system.
\Symfony\Component\HttpFoundation\RequestStack $request_stack: The current request.
File
- src/
DeployManager.php, line 64
Class
Namespace
Drupal\default_content_deployCode
public function __construct(EntityTypeManagerInterface $entity_type_manager, ConfigFactoryInterface $config, Settings $settings, FileSystemInterface $file_system, RequestStack $request_stack) {
$this->entityTypeManager = $entity_type_manager;
$this->config = $config;
$this->settings = $settings;
$this->fileSystem = $file_system;
$this->request = $request_stack
->getCurrentRequest();
}