You are here

function vkxp_form_alter in VK CrossPoster 6.2

Same name and namespace in other branches
  1. 6.3 vkxp.module \vkxp_form_alter()
  2. 6 vkxp.module \vkxp_form_alter()
  3. 7 vkxp.module \vkxp_form_alter()

Implementation of hook_form_alter().

File

./vkxp.module, line 81

Code

function vkxp_form_alter(&$form, &$form_state, $form_id) {
  $node_types = _vkxp_get_selected_node_types();
  foreach ($node_types as $node_type) {
    if ($form_id == $node_type . '_node_form') {
      _vkxp_process_node_form($form);
    }
  }
}