diff options
author | Dries <dries@buytaert.net> | 2012-08-24 15:14:40 +0200 |
---|---|---|
committer | Dries <dries@buytaert.net> | 2012-08-24 15:14:40 +0200 |
commit | c44e3e9790885dfab38fbeef96e52b8c5491910e (patch) | |
tree | dff017f10aac65cd0a00b7707154dd0136e667bf /modules/taxonomy | |
parent | 2c3cba3b6e8442a12b02f626d2151716b9aad8ae (diff) | |
download | brdo-c44e3e9790885dfab38fbeef96e52b8c5491910e.tar.gz brdo-c44e3e9790885dfab38fbeef96e52b8c5491910e.tar.bz2 |
- Patch
Diffstat (limited to 'modules/taxonomy')
-rw-r--r-- | modules/taxonomy/taxonomy.module | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module index df4084c33..5e58f4930 100644 --- a/modules/taxonomy/taxonomy.module +++ b/modules/taxonomy/taxonomy.module @@ -386,7 +386,8 @@ function taxonomy_admin_vocabulary_title_callback($vocabulary) { * * @param $vocabulary * A vocabulary object with the following properties: - * - vid: The ID of the vocabulary. + * - vid: (optional) The ID of the vocabulary (omit if creating a new + * vocabulary; only use to update an existing vocabulary). * - name: The human-readable name of the vocabulary. * - machine_name: The machine name of the vocabulary. * - description: (optional) The vocabulary's description. @@ -401,7 +402,7 @@ function taxonomy_admin_vocabulary_title_callback($vocabulary) { * * @return * Status constant indicating whether the vocabulary was inserted (SAVED_NEW) - * or updated(SAVED_UPDATED). + * or updated (SAVED_UPDATED). */ function taxonomy_vocabulary_save($vocabulary) { // Prevent leading and trailing spaces in vocabulary names. |