Field handler which shows the operations for a job.
@ViewsField("tmgmt_translator");
Expanded class hierarchy of Translator
class Translator extends FieldPluginBase {
/**
* {@inheritdoc}
*/
public function render(ResultRow $values) {
/** @var \Drupal\tmgmt\JobInterface $job */
if ($job = $this
->getEntity($values)) {
return $job
->getTranslatorLabel();
}
return NULL;
}
}
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Translator:: |
public | function |