function ife_load_form_ids in Inline Form Errors 7.2
Same name and namespace in other branches
- 6.2 ife.module \ife_load_form_ids()
- 6 ife.module \ife_load_form_ids()
- 7 ife.module \ife_load_form_ids()
Load all form ids from the data base.
4 calls to ife_load_form_ids()
- ife_form_id_delete_form_submit in ./
ife.settings.inc - Submit for confirm delete form for IFE form_ids.
- ife_form_id_load in ./
ife.module - Menu loader function to fetch a form id.
- ife_settings_form in ./
ife.settings.inc - IFE settings form.
- ife_settings_form_submit in ./
ife.settings.inc - IFE settings form submit.
File
- ./
ife.module, line 139 - Drupal hooks.
Code
function ife_load_form_ids($reset = FALSE) {
ctools_include('export');
static $form_ids;
// Ensure that the schema cache is not stale when trying to load.
$schema = drupal_get_schema('ife');
if (!isset($schema['export']) || $reset) {
ctools_export_load_object_reset('ife');
drupal_get_schema('ife', TRUE);
}
// Load form settings.
if (!isset($form_ids) || $reset) {
$form_ids = ctools_export_load_object('ife');
}
return $form_ids;
}