You are here

function ife_form_id_load in Inline Form Errors 6

Same name and namespace in other branches
  1. 6.2 ife.module \ife_form_id_load()
  2. 7.2 ife.module \ife_form_id_load()
  3. 7 ife.module \ife_form_id_load()

Menu loader function to fetch a form id.

2 calls to ife_form_id_load()
ife_form_alter in ./ife.module
Implementation of hook_form_alter().
ife_settings_form_validate in ./ife.settings.inc
IFE settings form validations

File

./ife.module, line 73
Drupal hooks

Code

function ife_form_id_load($form_id) {
  $form_ids = ife_load_form_ids();
  if (array_key_exists($form_id, $form_ids)) {
    return $form_ids[$form_id];
  }
  else {
    return FALSE;
  }
}