You are here

public function TranslatorPluginUiBase::checkoutInfo in Translation Management Tool 8

Retrieves information about a translation job.

Services based translators with remote states should place a Poll button here to sync the job state.

Parameters

\Drupal\tmgmt\JobInterface $job: The translation job.

Overrides TranslatorPluginUiInterface::checkoutInfo

1 call to TranslatorPluginUiBase::checkoutInfo()
FileTranslatorUi::checkoutInfo in translators/tmgmt_file/src/FileTranslatorUi.php
Retrieves information about a translation job.
2 methods override TranslatorPluginUiBase::checkoutInfo()
FileTranslatorUi::checkoutInfo in translators/tmgmt_file/src/FileTranslatorUi.php
Retrieves information about a translation job.
LocalTranslatorUi::checkoutInfo in translators/tmgmt_local/src/LocalTranslatorUi.php
Retrieves information about a translation job.

File

src/TranslatorPluginUiBase.php, line 30

Class

TranslatorPluginUiBase
Default ui controller class for translator plugins.

Namespace

Drupal\tmgmt

Code

public function checkoutInfo(JobInterface $job) {
  return array();
}