1 taxonomy.module taxonomy_language_delete($language)

Implements hook_language_delete().

File

core/modules/taxonomy/taxonomy.module, line 1985
Enables the organization of content into categories.

Code

function taxonomy_language_delete($language) {
  // On terms with this language, unset the language.
  db_update('taxonomy_term_data')
    ->fields(array('langcode' => ''))
    ->condition('langcode', $language->langcode)
    ->execute();
}