content_taxonomy

Fix for Function to add taxonomy and content_taxonomy to a node object

  1. // Sample usage:
  2. $node = new StdClass();
  3. $node->type= "story";
  4. $node->title = "Hello world";
  5. $tags = array('red', 'white', 'blue');
  6. my_nodeobject_add_content_taxonomy(&$node, 1, $tags,  'create',

Function to add taxonomy and content_taxonomy to a node object

  1. /**
  2.  * Modifies a node object adding taxonomy terms and, optionally, modifying a
  3.  * content_taxonomy type field.
  4.  *
  5.  * @param <type> $node
  6.  *   A node object.
  7.  * @param <type> $vid
  8.  *   The voc
Syndicate content