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.
The method getActiveItems() of FacetApiAdapter class has wrong doc comment for input argument $facet.
For now it is
* @param array|string $facet
* Either the facet definition as returned by facetapi_facet_load() or the
* machine readable name of the facet.
but method accepts only array values.
Comment | File | Size | Author |
---|---|---|---|
#2 | documentation_issue-2563117-2.patch | 466 bytes | Pravin Ajaaz |
Comments
Comment #2
Pravin Ajaaz CreditAttribution: Pravin Ajaaz as a volunteer and at Ameex-Drupal Geeks commentedA patch to fix it.
Comment #3
Sonal.Sangale CreditAttribution: Sonal.Sangale at Blisstering Solutions commentedComment #4
Pravin Ajaaz CreditAttribution: Pravin Ajaaz as a volunteer and at Young Globes commentedComment #6
eugene.ilyin CreditAttribution: eugene.ilyin as a volunteer and at DrupalJedi commentedPatch is wrong. Applied, but with corrections.
Comment #7
eugene.ilyin CreditAttribution: eugene.ilyin as a volunteer and at DrupalJedi commentedComment #9
remydenton CreditAttribution: remydenton at Isovera commentedFollow-up issue: https://www.drupal.org/node/2867867