Closed (won't fix)
Project:
Drupal core
Version:
7.x-dev
Component:
documentation
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
24 May 2009 at 21:22 UTC
Updated:
23 Jun 2009 at 14:43 UTC
I think that the hook_taxonomy_vocabulary_load hook is missing either a return statement or referenced parameter. Without any of these the function is not doing its magic.
Comments
Comment #1
berdirYes, that should be by reference. Once in the function definition and once in the foreach, so that the single vocabs are by reference too. Looks like a nice Novice patch.
Comment #2
berdirActually, this is just fine.
$vocabularies is an array of vocabulary objects, and these are always by reference. It would not be possible to change the array (remove/add vocabs) but we don't want that anyway.
Comment #3
MiMe commentedI hope that I will be able to add my own stuff to the $vocabularies array?! If not, it's not a hook, then it's just a module function...
Comment #4
jhodgdonSee #471744: Removing terms