taxonomy.module

Enables the organization of content into categories.

File

drupal/core/modules/taxonomy/taxonomy.module
View source

Functions

Namesort descending Description
taxonomy_admin_paths Implements hook_admin_paths().
taxonomy_allowed_values Returns the set of valid terms for a taxonomy field.
taxonomy_autocomplete_validate Form element validate handler for taxonomy term autocomplete element.
taxonomy_build_node_index Builds and inserts taxonomy index entries for a given node.
taxonomy_check_vocabulary_hierarchy Checks and updates the hierarchy flag of a vocabulary.
taxonomy_delete_node_index Deletes taxonomy index entries for a given node.
taxonomy_entity_info Implements hook_entity_info().
taxonomy_field_extra_fields Implements hook_field_extra_fields().
taxonomy_field_formatter_info Implements hook_field_formatter_info().
taxonomy_field_formatter_prepare_view Implements hook_field_formatter_prepare_view().
taxonomy_field_formatter_view Implements hook_field_formatter_view().
taxonomy_field_info Implements hook_field_info().
taxonomy_field_is_empty Implements hook_field_is_empty().
taxonomy_field_presave Implements hook_field_presave().
taxonomy_field_settings_form Implements hook_field_settings_form().
taxonomy_field_validate Implements hook_field_validate().
taxonomy_field_widget_info_alter Implements hook_field_widget_info_alter().
taxonomy_get_tree Create a hierarchical representation of a vocabulary.
taxonomy_help Implements hook_help().
taxonomy_implode_tags Implodes a list of tags of a certain vocabulary into a string.
taxonomy_library_info Implements hook_library_info().
taxonomy_menu Implements hook_menu().
taxonomy_node_insert Implements hook_node_insert().
taxonomy_node_predelete Implements hook_node_predelete().
taxonomy_node_update Implements hook_node_update().
taxonomy_options_list Implements hook_options_list().
taxonomy_permission Implements hook_permission().
taxonomy_rdf_mapping Implements hook_rdf_mapping().
taxonomy_select_nodes Return nodes attached to a term across all field instances.
taxonomy_taxonomy_term_delete Implements hook_taxonomy_term_delete().
taxonomy_taxonomy_vocabulary_update Implements hook_taxonomy_vocabulary_update().
taxonomy_terms_static_reset Clear all static cache variables for terms.
taxonomy_term_access Access callback: Checks a user's permission for performing a taxonomy term operation.
taxonomy_term_delete Deletes a term.
taxonomy_term_delete_multiple Deletes taxonomy terms.
taxonomy_term_is_page Returns whether the current page is the page of the passed-in term.
taxonomy_term_load Return the taxonomy term entity matching a term ID.
taxonomy_term_load_children Finds all children of a term ID.
taxonomy_term_load_multiple Load multiple taxonomy terms based on certain conditions.
taxonomy_term_load_multiple_by_name Try to map a string to an existing term, as for glossary use.
taxonomy_term_load_parents Finds all parents of a given term ID.
taxonomy_term_load_parents_all Find all ancestors of a given term ID.
taxonomy_term_save Saves a term object to the database.
taxonomy_term_title Title callback for term pages.
taxonomy_term_uri Entity URI callback.
taxonomy_term_view Generates an array which displays a term detail page.
taxonomy_term_view_multiple Constructs a drupal_render() style array from an array of loaded terms.
taxonomy_theme Implements hook_theme().
taxonomy_vocabulary_delete Deletes a vocabulary.
taxonomy_vocabulary_delete_multiple Deletes vocabularies.
taxonomy_vocabulary_get_names Get names for all taxonomy vocabularies.
taxonomy_vocabulary_load Return the taxonomy vocabulary entity matching a vocabulary ID.
taxonomy_vocabulary_load_multiple Loads multiple taxonomy vocabularies based on certain conditions.
taxonomy_vocabulary_machine_name_load Return the taxonomy vocabulary entity matching a vocabulary machine name.
taxonomy_vocabulary_save Saves a vocabulary.
taxonomy_vocabulary_static_reset Clear all static cache variables for vocabularies.
template_preprocess_taxonomy_term Process variables for taxonomy-term.tpl.php.
_taxonomy_get_tid_from_term Helper function for array_map purposes.

Constants

Namesort descending Description
TAXONOMY_HIERARCHY_DISABLED Denotes that no term in the vocabulary has a parent.
TAXONOMY_HIERARCHY_MULTIPLE Denotes that one or more terms in the vocabulary have multiple parents.
TAXONOMY_HIERARCHY_SINGLE Denotes that one or more terms in the vocabulary has a single parent.