Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cloud_orchestrator
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
cloud_orchestrator
Commits
0029f3b9
Commit
0029f3b9
authored
5 months ago
by
baldwinlouie
Committed by
Yas Naoi
5 months ago
Browse files
Options
Downloads
Patches
Plain Diff
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
!91
Adding drupal 11 support to cloud_orchestrator.info.yml and fixing...
Pipeline
#487577
passed
4 months ago
Stage: build
Stage: validate
Changes
2
Pipelines
3
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
cloud_orchestrator.info.yml
+2
-1
2 additions, 1 deletion
cloud_orchestrator.info.yml
src/Installer/Form/ModuleConfigureForm.php
+7
-2
7 additions, 2 deletions
src/Installer/Form/ModuleConfigureForm.php
with
9 additions
and
3 deletions
cloud_orchestrator.info.yml
+
2
−
1
View file @
0029f3b9
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
:
...
...
This diff is collapsed.
Click to expand it.
src/Installer/Form/ModuleConfigureForm.php
+
7
−
2
View file @
0029f3b9
...
...
@@ -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'
)
);
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment