Skip to main content
Post Closed as "Needs details or clarity" by avpaderno
improved grammar
Source Link
avpaderno
  • 97.9k
  • 15
  • 164
  • 284

Drupal 8 reinstall Reinstall a module whenthat has .yml file in config\install

A good enhancement in Drupal 8 is having list of yml file to import via installation.(in in mymodule_root\config\install) the problem is, but this means I can not reinstall mymodule normally as configsa module because the configuration settings already exist in the active configuration. Actually

Actually the problem is during uninstallationwhen uninstalling the module: The imported configsconfiguration settings, imported induring installation phase has not been, aren't waived in uninstall phase.

enter image description here

screenshot

Test scenario

Test senario: putPut this sample yml.yml file in yourmodule_root\config\install\systme.site.yml.

name: 'Admissions at Adelaide'
mail: [email protected]
slogan: ''
page:
  403: ''
  404: ''
  front: caslogin
admin_compact_mode: false
weight_select_max: 100
langcode: en
default_langcode: en

Drupal 8 reinstall module when has .yml file in config\install

A good enhancement in Drupal 8 is having list of yml file to import via installation.(in mymodule_root\config\install) the problem is I can not reinstall mymodule normally as configs already exist in active configuration. Actually the problem is during uninstallation the imported configs imported in installation phase has not been waived in uninstall phase.

enter image description here

Test senario: put this sample yml file in yourmodule_root\config\install\systme.site.yml

name: 'Admissions at Adelaide'
mail: [email protected]
slogan: ''
page:
  403: ''
  404: ''
  front: caslogin
admin_compact_mode: false
weight_select_max: 100
langcode: en
default_langcode: en

Reinstall a module that has .yml file in config\install

A good enhancement in Drupal 8 is having list of yml file to import via installation in mymodule_root\config\install, but this means I can not reinstall a module because the configuration settings already exist in the active configuration.

Actually the problem is when uninstalling the module: The imported configuration settings, imported during installation, aren't waived.

screenshot

Test scenario

Put this sample .yml file in yourmodule_root\config\install\systme.site.yml.

name: 'Admissions at Adelaide'
mail: [email protected]
slogan: ''
page:
  403: ''
  404: ''
  front: caslogin
admin_compact_mode: false
weight_select_max: 100
langcode: en
default_langcode: en
Bumped by Community user
Bumped by Community user
added 8 characters in body
Source Link

A good enhancement in Drupal 8 is having list of yml file to import via installation.(in mymodule_root\config\install) the problem is I can not reinstall mymodule normally as configs already exist in active configuration. Actually the problem is during uninstallation the imported configs imported in installation phase has not been waived in uninstall phase.

enter image description here

Test senario: put this sample yml file in yourmodule_root\config\install\systme.site.yml

name: 'Admissions at Adelaide'
mail: admin@exampleadmin22@example.com
slogan: ''
page:
  403: ''
  404: ''
  front: caslogin
admin_compact_mode: false
weight_select_max: 100
langcode: en
default_langcode: en

A good enhancement in Drupal 8 is having list of yml file to import via installation.(in mymodule_root\config\install) the problem is I can not reinstall mymodule normally as configs already exist in active configuration. Actually the problem is during uninstallation the imported configs imported in installation phase has not been waived in uninstall.

enter image description here

Test senario: put this sample yml file in yourmodule_root\config\install\systme.site.yml

name: 'Admissions at Adelaide'
mail: admin@example.com
slogan: ''
page:
  403: ''
  404: ''
  front: caslogin
admin_compact_mode: false
weight_select_max: 100
langcode: en
default_langcode: en

A good enhancement in Drupal 8 is having list of yml file to import via installation.(in mymodule_root\config\install) the problem is I can not reinstall mymodule normally as configs already exist in active configuration. Actually the problem is during uninstallation the imported configs imported in installation phase has not been waived in uninstall phase.

enter image description here

Test senario: put this sample yml file in yourmodule_root\config\install\systme.site.yml

name: 'Admissions at Adelaide'
mail: admin22@example.com
slogan: ''
page:
  403: ''
  404: ''
  front: caslogin
admin_compact_mode: false
weight_select_max: 100
langcode: en
default_langcode: en
Source Link

Drupal 8 reinstall module when has .yml file in config\install

A good enhancement in Drupal 8 is having list of yml file to import via installation.(in mymodule_root\config\install) the problem is I can not reinstall mymodule normally as configs already exist in active configuration. Actually the problem is during uninstallation the imported configs imported in installation phase has not been waived in uninstall.

enter image description here

Test senario: put this sample yml file in yourmodule_root\config\install\systme.site.yml

name: 'Admissions at Adelaide'
mail: [email protected]
slogan: ''
page:
  403: ''
  404: ''
  front: caslogin
admin_compact_mode: false
weight_select_max: 100
langcode: en
default_langcode: en