function taxonomy_admin_vocabulary_title_callback

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

modules/taxonomy/taxonomy.module, line 388

Code

function taxonomy_admin_vocabulary_title_callback($vocabulary) {
    return check_plain($vocabulary->name);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.