Commit 9d7cd071 authored by Eric Bremner's avatar 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
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
name: 'UW Sites all' name: 'UW Sites all'
description: 'Site controller for all UW sites.' description: 'Site controller for all UW sites.'
type: module type: module
core_version_requirement: ^8 || ^9 core_version_requirement: '^8 || ^9'
dependencies: dependencies:
- draggableviews:draggableviews - draggableviews:draggableviews
- drupal:aggregator - drupal:aggregator
...@@ -17,15 +17,6 @@ dependencies: ...@@ -17,15 +17,6 @@ dependencies:
- drupal:comment - drupal:comment
- drupal:components - drupal:components
- drupal:config - 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:contact
- drupal:content_moderation - drupal:content_moderation
- drupal:content_translation - drupal:content_translation
......
...@@ -150,3 +150,30 @@ function uw_sites_all_update_8104() { ...@@ -150,3 +150,30 @@ function uw_sites_all_update_8104() {
function uw_sites_all_update_8105(&$sandbox) { function uw_sites_all_update_8105(&$sandbox) {
\Drupal::service('module_installer')->install(['quick_node_clone']); \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);
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment