Skip to content

Instantly share code, notes, and snippets.

@amitaibu
Created February 11, 2013 13:10
Show Gist options
  • Save amitaibu/4754338 to your computer and use it in GitHub Desktop.
Save amitaibu/4754338 to your computer and use it in GitHub Desktop.
$vocabulary = (object) array(
'machine_name' => 'tags',
'name' => 'Tags',
'description' => $description,
'help' => $help,
);
taxonomy_vocabulary_save($vocabulary);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment