Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
WCMS
uw_sites_all
Commits
9d7cd071
Commit
9d7cd071
authored
Aug 03, 2021
by
Eric Bremner
Browse files
Merge branch 'feature/ISTWCMS-4954-ebremner-features' into '1.0.x'
Feature/istwcms 4954 ebremner features See merge request
!51
parents
bb655609
6a115d63
Changes
5
Hide whitespace changes
Inline
Side-by-side
config/install/node.settings.yml
deleted
100644 → 0
View file @
bb655609
use_admin_theme
:
true
config/optional/features.bundle.default.yml
deleted
100644 → 0
View file @
bb655609
langcode
:
en
status
:
true
dependencies
:
{
}
name
:
Default
machine_name
:
default
description
:
'
'
assignments
:
alter
:
core
:
true
uuid
:
true
user_permissions
:
false
enabled
:
true
weight
:
0
base
:
types
:
config
:
comment_type
:
comment_type
node_type
:
node_type
content
:
user
:
user
enabled
:
true
weight
:
-2
core
:
types
:
config
:
date_format
:
date_format
field_storage_config
:
field_storage_config
entity_form_mode
:
entity_form_mode
image_style
:
image_style
menu
:
menu
responsive_image_style
:
responsive_image_style
user_role
:
user_role
entity_view_mode
:
entity_view_mode
enabled
:
true
weight
:
5
dependency
:
enabled
:
true
weight
:
15
exclude
:
types
:
config
:
features_bundle
:
features_bundle
curated
:
true
module
:
installed
:
true
profile
:
true
namespace
:
true
namespace_any
:
false
enabled
:
true
weight
:
-5
existing
:
enabled
:
true
weight
:
12
forward_dependency
:
enabled
:
true
weight
:
4
namespace
:
enabled
:
true
weight
:
0
optional
:
types
:
config
:
{
}
enabled
:
true
weight
:
0
packages
:
enabled
:
true
weight
:
-20
profile
:
curated
:
true
standard
:
files
:
true
dependencies
:
true
types
:
config
:
block
:
block
language_content_settings
:
language_content_settings
configurable_language
:
configurable_language
migration
:
migration
shortcut_set
:
shortcut_set
tour
:
tour
enabled
:
true
weight
:
10
site
:
types
:
config
:
action
:
action
contact_form
:
contact_form
block_content_type
:
block_content_type
rdf_mapping
:
rdf_mapping
search_page
:
search_page
taxonomy_vocabulary
:
taxonomy_vocabulary
editor
:
editor
filter_format
:
filter_format
enabled
:
true
weight
:
7
profile_name
:
'
'
is_profile
:
false
config/optional/node.settings.yml
deleted
100644 → 0
View file @
bb655609
use_admin_theme
:
true
uw_sites_all.info.yml
View file @
9d7cd071
name
:
'
UW
Sites
all'
description
:
'
Site
controller
for
all
UW
sites.'
type
:
module
core_version_requirement
:
^8 || ^9
core_version_requirement
:
'
^8
||
^9
'
dependencies
:
-
draggableviews:draggableviews
-
drupal:aggregator
...
...
@@ -17,15 +17,6 @@ dependencies:
-
drupal:comment
-
drupal:components
-
drupal:config
-
drupal:config_distro
-
drupal:config_filter
-
drupal:config_merge
-
drupal:config_normalizer
-
drupal:config_provider
-
drupal:config_snapshot
-
drupal:config_sync
-
drupal:config_translation
-
drupal:config_update
-
drupal:contact
-
drupal:content_moderation
-
drupal:content_translation
...
...
uw_sites_all.install
View file @
9d7cd071
...
...
@@ -150,3 +150,30 @@ function uw_sites_all_update_8104() {
function
uw_sites_all_update_8105
(
&
$sandbox
)
{
\
Drupal
::
service
(
'module_installer'
)
->
install
([
'quick_node_clone'
]);
}
/**
* Uninstall all modules to do with config sync distro.
*/
function
uw_sites_all_update_8106
()
{
// Delete all references of config_snapshot from database,
// so that features does not show as overridden.
$query
=
\
Drupal
::
database
()
->
delete
(
'config'
);
$query
->
condition
(
'name'
,
'%config_snapshot%'
,
'LIKE'
);
$query
->
execute
();
// Modules to uninstall.
$modules
=
[
'config_distro'
,
'config_filter'
,
'config_merge'
,
'config_normalizer'
,
'config_provider'
,
'config_snapshot'
,
'config_sync'
,
'config_translation'
,
'config_update'
,
];
\
Drupal
::
service
(
'module_installer'
)
->
uninstall
(
$modules
);
}
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment