function xmlsitemap_taxonomy_form_taxonomy_form_vocabulary_alter in XML sitemap 6.2
Same name and namespace in other branches
- 6 xmlsitemap_taxonomy/xmlsitemap_taxonomy.module \xmlsitemap_taxonomy_form_taxonomy_form_vocabulary_alter()
- 7.2 xmlsitemap_taxonomy/xmlsitemap_taxonomy.module \xmlsitemap_taxonomy_form_taxonomy_form_vocabulary_alter()
Implements hook_form_FORM_ID_alter().
See also
xmlsitemap_add_link_bundle_settings()
File
- xmlsitemap_taxonomy/
xmlsitemap_taxonomy.module, line 82
Code
function xmlsitemap_taxonomy_form_taxonomy_form_vocabulary_alter(&$form, $form_state) {
$vid = isset($form['vid']['#value']) ? $form['vid']['#value'] : 0;
module_load_include('inc', 'xmlsitemap', 'xmlsitemap.admin');
xmlsitemap_add_link_bundle_settings($form, $form_state, 'taxonomy_term', $vid);
}