Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comments
Comment #2
Rajab Natshah CreditAttribution: Rajab Natshah at Vardot commented---
Comment #3
Rajab Natshah CreditAttribution: Rajab Natshah at Vardot commentedComment #4
Rajab Natshah CreditAttribution: Rajab Natshah at Vardot commentedComment #5
Rajab Natshah CreditAttribution: Rajab Natshah at Vardot commentedComment #6
Rajab Natshah CreditAttribution: Rajab Natshah at Vardot commentedComment #7
Rajab Natshah CreditAttribution: Rajab Natshah at Vardot commentedComment #8
Rajab Natshah CreditAttribution: Rajab Natshah at Vardot commentedComment #9
Rajab Natshah CreditAttribution: Rajab Natshah at Vardot commentedComment #10
abu-zakham CreditAttribution: abu-zakham as a volunteer and at Vardot commentedFixed in https://www.drupal.org/commitlog/commit/9566/90894e9b58873353fdd04d24ea9... , Thanks.
Comment #12
Rajab Natshah CreditAttribution: Rajab Natshah at Vardot commentedComment #13
Rajab Natshah CreditAttribution: Rajab Natshah at Vardot commented