Problem/Motivation

Given that we installed "Drupal 8.4.0" with the "minimal" profile option - or any Drupal profile which did not enable the comment module
And we got all needed modules for the "Total Control" module
And the "Total Control" module was enabled
And the config for the comments tab is optional
When we enable the comment module
But we do not have any comment types or comment fields
Then the comment tab will not show up in the Dashboard.
And the comment module was enabled afterword
And we will have number of errors on enable

Proposed resolution

  • Have the config without a predefined comment types
  • Have the config without a predefined comment fields
  • Load the config for the comments tab to the active config, after we enable the comment module
  • We could have a sub module total_control_comment which will be only enabled when needed

Remaining tasks

  • Have a way to load the custom config about comment to the active Drupal 8 config after enabling a module. ( I think this should be for any module when we enable a module we look for all optional configs which do need the module in order to load, and we load them

User interface changes

  • Have a setting page, with action, which could load Dashboard tabs.

API changes

Data model changes

Comments

RajabNatshah created an issue. See original summary.

Rajab Natshah’s picture

---

Rajab Natshah’s picture

Issue summary: View changes
Rajab Natshah’s picture

Title: Drupal 8 minimal profile: When comment module was not enabled, then enabled after total Controle. or profiles which do not enable the comment module on install » Drupal 8 minimal profile: When the comment module was not enabled, then enabled after total Control. or profiles which do not enable the comment module on install
Rajab Natshah’s picture

Issue summary: View changes
Rajab Natshah’s picture

Issue summary: View changes
Rajab Natshah’s picture

Issue summary: View changes
Rajab Natshah’s picture

Issue summary: View changes
Rajab Natshah’s picture

Issue summary: View changes
abu-zakham’s picture

Priority: Normal » Minor
Status: Needs work » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

Rajab Natshah’s picture