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.
ViewsExecutable type hint for $exposed_widgets is a string.
However... down at around line 1238 $this->exposed_widgets = $exposed_form->renderExposedForm()
which sets it to a render array (or in some cases, an empty array).
Comment | File | Size | Author |
---|---|---|---|
#12 | 3006812-viewexecutable-exposed-widgets-12.patch | 574 bytes | Ankit.Gupta |
| |||
#2 | 3006812-viewexecutable-exposed-widgets-2.patch | 574 bytes | NickDickinsonWilde |
Comments
Comment #2
NickDickinsonWildePatch. I don't believe this needs a test.
Comment #10
pavlosdan CreditAttribution: pavlosdan as a volunteer and at Acquia commentedWas wondering about this given the documentation says this should be a string.
Comment #11
quietone CreditAttribution: quietone at PreviousNext commentedSorry, but let's get this testing on Drupal 9.5 or 10 instead of an unsupported version of Drupal.
Comment #12
Ankit.Gupta CreditAttribution: Ankit.Gupta at Dotsquares Ltd. commentedReroll the patch #2 with Drupal 10.1.x
Comment #13
daffie CreditAttribution: daffie at Finalist commentedLooks good to me.
Nice little docblock improvement!
For me it is RTBC.
Comment #14
alexpottCommitted and pushed 243783522d to 10.1.x and ab0ad0263a to 10.0.x and b16cfee784 to 9.5.x and e06fa31dc2 to 9.4.x. Thanks!
Backported to 9.4.x as docs bug fix.