Skip to content
Snippets Groups Projects
Commit bf06ae7d authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Patch #1196112 by rocket_nova: taxonomy_get_parents() return value documentation isn't complete.

parent 371f1a1e
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -859,7 +859,8 @@ function taxonomy_vocabulary_get_names() {
* A taxonomy term ID.
*
* @return
* An array of term objects which are the parents of the term $tid.
* An array of term objects which are the parents of the term $tid, or an
* empty array if parents are not found.
*/
function taxonomy_get_parents($tid) {
$parents = &drupal_static(__FUNCTION__, array());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment