You are here

function apps_install_verify_process in Apps 7

Process callback for apps_install_verify form.

If no options are enabled, show all of them and a message.

1 string reference to 'apps_install_verify_process'
apps_install_verify in ./apps.profile.inc
Show instructions and check system services to help guide direction for Apps installs.

File

./apps.profile.inc, line 628
The install functions for the Apps module.

Code

function apps_install_verify_process($form) {
  if (!$form['app_enabled']['#value']) {
    foreach (element_children($form) as $key) {
      if (isset($form[$key]['#type']) && $form[$key]['#type'] == 'fieldset') {
        $form[$key]['#collapsible'] = FALSE;
        $form[$key]['#collapsed'] = FALSE;
      }
    }

    // @ignore security_3
    drupal_set_message(t('No app install methods were found. <a href="!url">Retry verification</a>', array(
      '!url' => check_url(drupal_current_script_url()),
    )), 'warning');
  }
  return $form;
}