You are here

public function Translator::hasCheckoutSettings in Translation Management Tool 8

Returns if the plugin has any settings for this job.

Parameters

\Drupal\tmgmt\JobInterface $job: The Job entity that should be translated.

Overrides TranslatorInterface::hasCheckoutSettings

File

src/Entity/Translator.php, line 393

Class

Translator
Entity class for the tmgmt_translator entity.

Namespace

Drupal\tmgmt\Entity

Code

public function hasCheckoutSettings(JobInterface $job) {
  if ($plugin = $this
    ->getPlugin()) {
    return $plugin
      ->hasCheckoutSettings($job);
  }
  return FALSE;
}