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.
Let's get Claro added as a dependency to stop people seeing an odd result :)
Comment | File | Size | Author |
---|---|---|---|
#10 | add-claro-dependency-3107825-#10.patch | 725 bytes | malte.koelle |
#3 | 3107825-0.patch | 292 bytes | ChandeepKhosa |
Comments
Comment #2
ChandeepKhosa CreditAttribution: ChandeepKhosa at 2Toucans commentedHere's the patch
Comment #3
ChandeepKhosa CreditAttribution: ChandeepKhosa at 2Toucans commentedRenamed patch file & queuing this for review
Comment #4
saschaeggi@ChandeepKhosa does this work for you on D8.8? I'm just getting an error
Unable to install modules: module 'gin_login' is missing its dependency module claro.
But as claro is not a module but rather a theme I'm not sure if we can solve that this way.
Comment #5
ChandeepKhosa CreditAttribution: ChandeepKhosa at 2Toucans commentedSorry I was lazy and didn't test it, no it doesn't work for me either. I tried googling but didn't find a solution on doing this.
Comment #6
saschaeggiI've created a core issue for this #3108003: Dependency on (core) themes (e.g. Claro)
Comment #7
jkswoods CreditAttribution: jkswoods at interactive investor commentedThis doesn't necessarily have to rely on waiting for the ability to define dependency on themes. A solution for this can be to have a check in hook_requirements that occurs during the 'install' phase. After evaluating that the claro theme is not enabled, return a REQUIREMENT_ERROR.
See: https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Extension...
Comment #8
saschaeggi@jkswoods can you provide a patch for this? :)
Comment #9
malte.koelle CreditAttribution: malte.koelle as a volunteer commentedComment #10
malte.koelle CreditAttribution: malte.koelle as a volunteer commentedI added a hook_requirements, which checks if claro is installed.
#9 had a typo. Now it looks better.
Comment #12
saschaeggiThis needs another round of community testing. Thanks in advance!
Comment #13
saschaeggi