Go to the source code of this file.
Definition in file taxonomy.admin.inc.
taxonomy_add_term_page | ( | $ | vocabulary | ) |
Menu callback; return the edit form for a new term after setting the title.
Definition at line 630 of file taxonomy.admin.inc.
References drupal_get_form(), drupal_set_title(), name, and t().
taxonomy_admin_term_edit | ( | $ | tid | ) |
Page to edit a vocabulary term.
Definition at line 236 of file taxonomy.admin.inc.
References drupal_get_form(), and drupal_not_found().
taxonomy_admin_vocabulary_edit | ( | $ | vocabulary | ) |
Page to edit a vocabulary.
Definition at line 229 of file taxonomy.admin.inc.
References drupal_get_form().
taxonomy_form_term_submit | ( | $ | form, | |
&$ | form_state | |||
) |
Submit handler to insert or update a term.
Definition at line 755 of file taxonomy.admin.inc.
References drupal_set_message(), l(), t(), taxonomy_term_confirm_delete_submit(), and watchdog().
taxonomy_form_term_validate | ( | $ | form, | |
&$ | form_state | |||
) |
Validation handler for the term edit form. Ensure numeric weight values.
Definition at line 744 of file taxonomy.admin.inc.
References form_set_error(), and t().
taxonomy_form_vocabulary_submit | ( | $ | form, | |
&$ | form_state | |||
) |
Accept the form submission for a vocabulary and save the results.
Definition at line 201 of file taxonomy.admin.inc.
References drupal_set_message(), l(), t(), and watchdog().
taxonomy_overview_terms_submit | ( | $ | form, | |
&$ | form_state | |||
) |
Submit handler for terms overview form.
Rather than using a textfield or weight field, this form depends entirely upon the order of form elements on the page to determine new weights.
Because there might be hundreds or thousands of taxonomy terms that need to be ordered, terms are weighted from 0 to the number of terms in the vocabulary, rather than the standard -10 to 10 scale. Numbers are sorted lowest to highest, but are not necessarily sequential. Numbers may be skipped when a term has children so that reordering is minimal when a child is added or removed from a term.
Definition at line 451 of file taxonomy.admin.inc.
References t(), and taxonomy_vocabulary_confirm_reset_alphabetical_submit().
taxonomy_overview_vocabularies_submit | ( | $ | form, | |
&$ | form_state | |||
) |
Submit handler for vocabularies overview. Updates changed vocabulary weights.
Definition at line 50 of file taxonomy.admin.inc.
taxonomy_term_confirm_delete_submit | ( | $ | form, | |
&$ | form_state | |||
) |
Submit handler to delete a term after confirmation.
Definition at line 858 of file taxonomy.admin.inc.
References drupal_set_message(), t(), and watchdog().
Referenced by taxonomy_form_term_submit().
taxonomy_vocabulary_confirm_delete_submit | ( | $ | form, | |
&$ | form_state | |||
) |
Submit handler to delete a vocabulary after confirmation.
Definition at line 895 of file taxonomy.admin.inc.
References $status, drupal_set_message(), t(), and watchdog().
taxonomy_vocabulary_confirm_reset_alphabetical_submit | ( | $ | form, | |
&$ | form_state | |||
) |
Submit handler to reset a vocabulary to alphabetical order after confirmation.
Definition at line 930 of file taxonomy.admin.inc.
References db_query(), drupal_set_message(), t(), and watchdog().
Referenced by taxonomy_overview_terms_submit().