You are here

function community_tags_form_alter in Community Tags 6.2

Same name and namespace in other branches
  1. 5 community_tags.module \community_tags_form_alter()
  2. 6 community_tags.module \community_tags_form_alter()

Implementation of hook_form_alter().

File

./community_tags.module, line 356
Implements community tagging of nodes using a specific vocabulary for Drupal v6.x

Code

function community_tags_form_alter(&$form, &$form_state, $form_id) {

  // Provide option to enable Community Tags per node type.
  if ($form_id == 'node_type_form' && isset($form['#node_type']->type)) {
    module_load_include('inc', 'community_tags', 'community_tags.admin');
    return _community_tags_node_type_form_alter($form, $form_state, $form_id);
  }
}