You are here

function tmgmt_job_settings_custom_handling in Translation Management Tool 7

Determines if job settings of the translator will be handled by its plugin.

Parameters

TMGMTTranslator $translator: Translator entity.

Return value

bool If job settings are to be handled by the plugin.

Related topics

1 call to tmgmt_job_settings_custom_handling()
tmgmt_job_form_submit in ui/includes/tmgmt_ui.pages.inc
Submit callback for the job checkout form.

File

./tmgmt.module, line 1110
Main module file for the Translation Management module.

Code

function tmgmt_job_settings_custom_handling(TMGMTTranslator $translator) {
  $info = tmgmt_translator_plugin_info($translator->plugin);
  if (isset($info['job settings custom handling'])) {
    return $info['job settings custom handling'];
  }
  return FALSE;
}