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()
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

wesleydv created an issue. See original summary.

wesleydv’s picture

yukare’s picture

Status: Active » Needs review

Change to need review for the testbot, if it pass i will commit.

  • yukare committed 23ea610 on 8.x-1.x authored by wesleydv
    Issue #2915088 by wesleydv: geshifilter_requirements() should return a...
yukare’s picture

Status: Needs review » Fixed

Fixed in git, thanks.

Status: Fixed » Closed (fixed)

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