Problem/Motivation

From what I had read in many Drupal tutorials concerning Git+Ci/CD workflow, it is usual that when deploying to production,  Ui modules like Field UI, Menu UI etc.. are always disabled together with development modules(manually or with config ignore).

Personally I always like doing that for most of my sites where Content editors don't really need to configure the site.

Now I see that the nice Varbase distribution  has in Core and other Varbase modules some UI modules as dependencies.So i would like to know if disabling some Ui modules will not completely break sites as they are listed as dependencies

Thanks

Comments

delacosta456 created an issue. See original summary.

delacosta456’s picture

Issue summary: View changes
rajab natshah’s picture

Varbase Development

Development Environment Modules and Features, make sure to disable this feature in production.

Varbase is using the Module Installer Factory Class

The menu_ui and field_ui are listed under the install: not the dependencies:
https://git.drupalcode.org/project/varbase_core/-/blob/9.0.x/varbase_cor...

So that you will be able to disable them or enable them as you like ( Only we enable them on fresh Varbase installations )

Even the Module Installer Factory Class way can help if the developer disabled and then enabled the Security Review

As the Security Review module will be Enabled and Disabled many times
with development and deployments to production sites.
But the need to have the basic extra change for config over
the Security Review default configs.

It is up to you to select which module to disable on production
https://git.drupalcode.org/project/varbase_core/-/blob/9.0.x/modules/var...

#uninstall:
#  - migrate_drupal_ui
#  - dblog
#  - views_ui
#  - config_update_ui
#  - webprofiler
#  - ds_devel
#  - webform_devel
#  - devel
#  - tour_ui
#  - blazy_ui
#  - devel_generate
#  - slick_ui
#  - config_inspector
delacosta456’s picture

Status: Active » Fixed

hi
ook it's clear now .

Thanks

rajab natshah’s picture

Status: Fixed » Closed (fixed)
delacosta456’s picture

hi
is there any easy way to configure/patch module Varbase_development so that when disabled (either manually or through Config_split)
modules(previously enabled) and listed under install are also automatically disabled

Thanks