You are here

function drupalgap_module_install_form_submit in DrupalGap 7

Same name and namespace in other branches
  1. 7.2 drupalgap.module \drupalgap_module_install_form_submit()

File

./drupalgap.module, line 562
A module to provide a bridge between Drupal websites and PhoneGap mobile applications.

Code

function drupalgap_module_install_form_submit($form, &$form_state) {
  $module_details = drupalgap_load_module_details($form_state['values']['module']);
  drupalgap_download_and_extract_module_from_github($module_details);
  drupalgap_add_module_to_settings_file($module_details['github']['name']);
}