* @return string|null
* The rendered exposed form as string or NULL otherwise.
https://git.drupalcode.org/project/drupal/-/blob/9.2.4/core/modules/view...
In fact, the viewExposedFormBlocks() method returns array|null.
Issue fork drupal-3230690
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
chi commentedIdeally, it should return empty array instead of null, but that's another issue.
Comment #3
chi commentedComment #6
anul commentedHi Ivan,
Raised a PR for the this issue. Updated the documentation.
https://git.drupalcode.org/project/drupal/-/merge_requests/1168/diffs
Thanks
Anul
Comment #7
anul commentedComment #8
chi commentedThat sounds wrong because the form is not actually rendered.
It could be something like follows.
Comment #9
anul commentedI agree on the point Ivan. Updated the comment as suggested.
Comment #10
chi commentedLooks good to me.
Comment #11
larowlanCommitted 1eae8e8 and pushed to 9.3.x. Thanks!
As there is little risk of disruption here, backported to 9.2.x