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.
I use taxonomy_breadcrumb_get_term_path and taxonomy_breadcrumb_get_vocabulary_path functions all the time in my code. As of the 6.1 release it looks like these functions were made private. I would love to see these made public again. Attached is a patch that does that.
Comment | File | Size | Author |
---|---|---|---|
taxonomy_breadcrumb_make_public_functions.patch | 4.68 KB | emilyf |
Comments
Comment #1
HazaIt is just a convention. PHP don't support private function by prefixing them with a "_"
Usually, this just made to tell people "this is an internal/helper function, you shouldn't use it."