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.
The documentation of hook_requirements describes that the return should always contain description key.
Because in some cases geshifilter_requirements() does not return a description key, it this causes a warning (tested in Drupal 8.4.0):
Warning: Invalid argument supplied for foreach() in Drupal\system\Element\StatusReportPage::preRenderGeneralInfo()
Comment | File | Size | Author |
---|---|---|---|
#2 | geshifilter_requirements_2915088_2.patch | 1.11 KB | wesleydv |
Comments
Comment #2
wesleydv CreditAttribution: wesleydv at District09 commentedThis patch should fix the issue
Comment #3
yukare CreditAttribution: yukare commentedChange to need review for the testbot, if it pass i will commit.
Comment #5
yukare CreditAttribution: yukare commentedFixed in git, thanks.