function tripal_project_sync_projects_form_submit
1.x tripal_project.admin.inc | tripal_project_sync_projects_form_submit($form, &$form_state) |
File
- tripal_project/
includes/ tripal_project.admin.inc, line 276 - @todo Add file header description
Code
function tripal_project_sync_projects_form_submit($form, &$form_state) {
global $user;
//sync'ing is done by a tripal_job that is added here
$job_id = tripal_add_job('Sync Projects', 'tripal_project',
'tripal_project_sync_all_projects', array(), $user->uid);
}