You are here

interface TMGMTTranslatorUIControllerInterface in Translation Management Tool 7

Interface for translator ui controllers.

Hierarchy

Expanded class hierarchy of TMGMTTranslatorUIControllerInterface

All classes that implement TMGMTTranslatorUIControllerInterface

Related topics

File

plugin/tmgmt.ui.interface.translator.inc, line 8

View source
interface TMGMTTranslatorUIControllerInterface extends TMGMTPluginBaseInterface {

  /**
   * Form callback for the plugin settings form.
   */
  public function pluginSettingsForm($form, &$form_state, TMGMTTranslator $translator, $busy = FALSE);

  /**
   * Form callback for the checkout settings form.
   */
  public function checkoutSettingsForm($form, &$form_state, TMGMTJob $job);

  /**
   * Retrieves information about a translation job.
   *
   * Services based translators with remote states should place a Poll button
   * here to sync the job state.
   *
   * @param TMGMTJob $job
   *   The translation job.
   */
  public function checkoutInfo(TMGMTJob $job);

  /**
   * Form callback for the job item review form.
   */
  public function reviewForm($form, &$form_state, TMGMTJobItem $item);

  /**
   * Form callback for the data item element form.
   */
  public function reviewDataItemElement($form, &$form_state, $data_item_key, $parent_key, array $data_item, TMGMTJobItem $item);

  /**
   * Validation callback for the job item review form.
   */
  public function reviewFormValidate($form, &$form_state, TMGMTJobItem $item);

  /**
   * Submit callback for the job item review form.
   */
  public function reviewFormSubmit($form, &$form_state, TMGMTJobItem $item);

}

Members

Namesort descending Modifiers Type Description Overrides
TMGMTPluginBaseInterface::pluginInfo public function Returns the info of the type of the plugin. 1
TMGMTPluginBaseInterface::pluginType public function Returns the type of the plugin. 1
TMGMTPluginBaseInterface::__construct public function Constructor. 1
TMGMTTranslatorUIControllerInterface::checkoutInfo public function Retrieves information about a translation job. 1
TMGMTTranslatorUIControllerInterface::checkoutSettingsForm public function Form callback for the checkout settings form. 1
TMGMTTranslatorUIControllerInterface::pluginSettingsForm public function Form callback for the plugin settings form. 1
TMGMTTranslatorUIControllerInterface::reviewDataItemElement public function Form callback for the data item element form. 1
TMGMTTranslatorUIControllerInterface::reviewForm public function Form callback for the job item review form. 1
TMGMTTranslatorUIControllerInterface::reviewFormSubmit public function Submit callback for the job item review form. 1
TMGMTTranslatorUIControllerInterface::reviewFormValidate public function Validation callback for the job item review form. 1