public function LoopCount::render

File

translators/tmgmt_local/src/Plugin/views/field/LoopCount.php, line 18

Class

LoopCount
Field handler which shows the word count for a job or job item.

Namespace

Drupal\tmgmt_local\Plugin\views\field

Code

public function render(ResultRow $values) {

  /** @var \Drupal\tmgmt_local\LocalTaskInterface $entity */
  $entity = $values->_entity;
  return $entity
    ->getLoopCount();
}