function asaf_is_handled_form in Asaf (ajax submit for any form) 8
Same name and namespace in other branches
- 7 asaf.module \asaf_is_handled_form()
1 call to asaf_is_handled_form()
File
- ./
asaf.module, line 463 - Main module file.
Code
function asaf_is_handled_form($form_id) {
$forms =& drupal_static(__FUNCTION__, NULL);
if (!isset($forms)) {
$forms = asaf_get_handled_forms_list();
}
return isset($form_id) && isset($forms[$form_id]) ? $forms[$form_id] : FALSE;
}