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.
Hello!
As I see, there are a lot of module dependencies in .info file:
- dependencies[] = locale
- dependencies[] = block
- dependencies[] = translation
- dependencies[] = i18n
- dependencies[] = variable
- dependencies[] = i18n_translation
- dependencies[] = i18n_block
- dependencies[] = i18n_string
- dependencies[] = webform (4.x)
- test_dependencies[] = locale
- test_dependencies[] = block
- test_dependencies[] = translation
- test_dependencies[] = token
- test_dependencies[] = i18n
- test_dependencies[] = variable
- test_dependencies[] = i18n_translation
- test_dependencies[] = i18n_block
- test_dependencies[] = i18n_string
- test_dependencies[] = webform (4.x)
Some of them are extra, because they will be provided by parent modules (we can remove "i18n", other i18n_* modules are depends of it).
And some of them like i18n_block arent used in module functionality (only for testing), so looks like we can simplify module configuration (And also we can describe only special modules for testing in "test_dependencies" - its not necessary to duplicate all modules set (documentation).
Comments
Comment #2
Evgeny_Yudkin CreditAttribution: Evgeny_Yudkin as a volunteer and at DrupalJedi commentedComment #3
joseph.olstadnice work Evgeny_Yudkin
Queued for commit.
Comment #5
joseph.olstad