Skip to content
Snippets Groups Projects
Commit 0029f3b9 authored by baldwinlouie's avatar baldwinlouie Committed by Yas Naoi
Browse files

Issue #3514753 by baldwinlouie, yas: Update cloud_orchestrator.info.yml to support drupal/core:^11

parent dbd030ad
No related branches found
No related tags found
1 merge request!91Adding drupal 11 support to cloud_orchestrator.info.yml and fixing...
Pipeline #487577 passed
name: Cloud Orchestrator
type: profile
description: 'Cloud Orchestrator Drupal distribution.'
core_version_requirement: ^10.3
core_version_requirement: ^10.3 || ^11
version: VERSION
distribution:
name: Cloud Orchestrator
install:
......
......@@ -3,6 +3,7 @@
namespace Drupal\cloud_orchestrator\Installer\Form;
use Drupal\Core\Config\ConfigFactoryInterface;
use Drupal\Core\Config\TypedConfigManagerInterface;
use Drupal\Core\Entity\EntityTypeManagerInterface;
use Drupal\Core\Extension\ModuleInstallerInterface;
use Drupal\Core\Form\ConfigFormBase;
......@@ -79,6 +80,8 @@ class ModuleConfigureForm extends ConfigFormBase {
* Entity type manager.
* @param \Drupal\cloud\Service\CloudServiceInterface $cloud
* The cloud service.
* @param \Drupal\Core\Config\TypedConfigManagerInterface $typed_config_manager
* The typed config manager.
*/
public function __construct(
ConfigFactoryInterface $config_factory,
......@@ -87,8 +90,9 @@ class ModuleConfigureForm extends ConfigFormBase {
RouteBuilderInterface $route_builder,
EntityTypeManagerInterface $entity_type_manager,
CloudServiceInterface $cloud,
TypedConfigManagerInterface $typed_config_manager,
) {
parent::__construct($config_factory);
parent::__construct($config_factory, $typed_config_manager);
$this->messenger = $messenger;
$this->moduleInstaller = $module_installer;
$this->routeBuilder = $route_builder;
......@@ -106,7 +110,8 @@ class ModuleConfigureForm extends ConfigFormBase {
$container->get('module_installer'),
$container->get('router.builder'),
$container->get('entity_type.manager'),
$container->get('cloud')
$container->get('cloud'),
$container->get('config.typed')
);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment