You are here

function taxonomy_multidelete_term_term_name_by_id in Taxonomy Multi-delete Terms 7

It will return Term Name.

2 calls to taxonomy_multidelete_term_term_name_by_id()
taxonomy_multidelete_term_confirm_delete_terms_submit in ./taxonomy_multidelete_term.module
Delete terms after confirmation.
taxonomy_multidelete_term_get_deleted_term_names in ./taxonomy_multidelete_term.module
It will retrun name of the term name Which are deleted.

File

./taxonomy_multidelete_term.module, line 392
Taxonomy multi delete module use to delete terms in bulk.

Code

function taxonomy_multidelete_term_term_name_by_id($tid) {
  return db_select('taxonomy_term_data', 't')
    ->fields('t', array(
    'name',
  ))
    ->condition('tid', $tid)
    ->execute()
    ->fetchField();
}