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
Documented type for WidgetBaseInterface::flagErrors() parameter $violations is wrong
Proposed resolution
Fix.
Remaining tasks
-
User interface changes
-
API changes
-
Comment | File | Size | Author |
---|---|---|---|
#4 | d8_validation_docu.patch | 961 bytes | fago |
#1 | d8_validation_docu.patch | 949 bytes | fago |
Comments
Comment #1
fagoComment #2
jibranComment #3
xjmWell, we lost the parameter name. ;) (A
$violations
at the end.)Comment #4
fagoops! Corrected that.
Comment #5
pjbaert@fago processed #3 in this patch.
This patch can go back to rtbc
Comment #6
xjmThis issue only changes documentation, so per https://www.drupal.org/core/beta-changes, this can be completed any time during the Drupal 8 beta phase.
I also read through the implementations and confirmed it's not expected for it to be an array.
Committed and pushed to 8.0.x. Thanks!