public function JobItemState::render

File

src/Plugin/views/field/JobItemState.php, line 18

Class

JobItemState
Field handler which shows the link for translating translation task items.

Namespace

Drupal\tmgmt\Plugin\views\field

Code

public function render(ResultRow $values) {

  /** @var \Drupal\tmgmt\JobItemInterface $job_item */
  $job_item = $this
    ->getEntity($values);
  return $job_item
    ->getStateIcon();
}