You are here

function devel_forms in Devel 5

Implementation of hook_forms().

File

./devel.module, line 873

Code

function devel_forms() {
  $forms = array();
  if (user_access('access devel information')) {

    // registers each devel_reinstall_$module form_id
    $modules = module_list();
    foreach ($modules as $module) {
      $forms['devel_reinstall_' . $module]['callback'] = 'devel_reinstall_form';
    }
  }
  return $forms;
}