Field handler which shows the word count for a job or job item.
@ViewsField("tmgmt_local_loopcount");
Expanded class hierarchy of LoopCount
class LoopCount extends FieldPluginBase {
/**
* {@inheritdoc}
*/
public function render(ResultRow $values) {
/** @var \Drupal\tmgmt_local\LocalTaskInterface $entity */
$entity = $values->_entity;
return $entity
->getLoopCount();
}
}
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
LoopCount:: |
public | function |