Interface for translator ui controllers.
Expanded class hierarchy of TranslatorPluginUiInterface
All classes that implement TranslatorPluginUiInterface
interface TranslatorPluginUiInterface extends PluginInspectionInterface, PluginFormInterface {
/**
* Form callback for the checkout settings form.
*/
public function checkoutSettingsForm(array $form, FormStateInterface $form_state, JobInterface $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 \Drupal\tmgmt\JobInterface $job
* The translation job.
*/
public function checkoutInfo(JobInterface $job);
/**
* Form callback for the job item review form.
*/
public function reviewForm(array $form, FormStateInterface $form_state, JobItemInterface $item);
/**
* Form callback for the data item element form.
*/
public function reviewDataItemElement(array $form, FormStateInterface $form_state, $data_item_key, $parent_key, array $data_item, JobItemInterface $item);
/**
* Validation callback for the job item review form.
*/
public function reviewFormValidate(array $form, FormStateInterface $form_state, JobItemInterface $item);
/**
* Submit callback for the job item review form.
*/
public function reviewFormSubmit(array $form, FormStateInterface $form_state, JobItemInterface $item);
/**
* {@inheritdoc}
*/
public function buildConfigurationForm(array $form, FormStateInterface $form_state);
/**
* {@inheritdoc}
*/
public function validateConfigurationForm(array &$form, FormStateInterface $form_state);
/**
* {@inheritdoc}
*/
public function submitConfigurationForm(array &$form, FormStateInterface $form_state);
}
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
TranslatorPluginUiInterface:: |
public | function | 1 | |
TranslatorPluginUiInterface:: |
public | function | Retrieves information about a translation job. | 1 |
TranslatorPluginUiInterface:: |
public | function | Form callback for the checkout settings form. | 1 |
TranslatorPluginUiInterface:: |
public | function | Form callback for the data item element form. | 1 |
TranslatorPluginUiInterface:: |
public | function | Form callback for the job item review form. | 1 |
TranslatorPluginUiInterface:: |
public | function | Submit callback for the job item review form. | 1 |
TranslatorPluginUiInterface:: |
public | function | Validation callback for the job item review form. | 1 |
TranslatorPluginUiInterface:: |
public | function | 1 | |
TranslatorPluginUiInterface:: |
public | function | 1 |