You are here

public function TMGMTTestTranslatorUIController::reviewDataItemElement in Translation Management Tool 7

Form callback for the data item element form.

Overrides TMGMTDefaultTranslatorUIController::reviewDataItemElement

File

tests/tmgmt_test.ui.translator.inc, line 58
Contains the test translator UI plugin.

Class

TMGMTTestTranslatorUIController
@file Contains the test translator UI plugin.

Code

public function reviewDataItemElement($form, &$form_state, $data_item_key, $parent_key, array $data_item, TMGMTJobItem $item) {
  $form['below'] = array(
    '#markup' => t('Testing output of review data item element @key from the testing translator.', array(
      '@key' => $data_item_key,
    )),
  );
  return $form;
}