function taxonomy_admin_vocabulary_title_callback
7.x taxonomy.module | taxonomy_admin_vocabulary_title_callback($vocabulary) |
Returns the sanitized name of a vocabulary.
Deprecated. This function was previously used as a menu item title callback but has been replaced by using entity_label() (which does not sanitize the title, since the menu system does that automatically). In Drupal 7, use that function for title callbacks, and call check_plain() directly if you need a sanitized title.
File
- drupal-7.x/
modules/ taxonomy/ taxonomy.module, line 386 - Enables the organization of content into categories.
Code
function taxonomy_admin_vocabulary_title_callback($vocabulary) {
return check_plain($vocabulary->name);
}