You are here

function module_builder_admin_update_submit in Module Builder 7.2

Same name and namespace in other branches
  1. 6.2 includes/module_builder.admin.inc \module_builder_admin_update_submit()
  2. 7 includes/module_builder.admin.inc \module_builder_admin_update_submit()

Admin hook update form submit handler.

File

includes/module_builder.admin.inc, line 129
Menu callbacks for admin pages.

Code

function module_builder_admin_update_submit($form, $form_state) {

  // Safe to do this without exception handling: it's already been checked in
  // the form builder.
  $mb_task_handler_collect = \DrupalCodeBuilder\Factory::getTask('Collect');
  $mb_task_handler_collect
    ->collectComponentData();
}