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
$violationsat 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!