class JobItemType

Field handler which shows the operations for a job.

Plugin annotation

@ViewsField("tmgmt_job_item_type");

Hierarchy

  • class \Drupal\tmgmt\Plugin\views\field\JobItemType extends \Drupal\views\Plugin\views\field\FieldPluginBase

Expanded class hierarchy of JobItemType

File

src/Plugin/views/field/JobItemType.php, line 13

Namespace

Drupal\tmgmt\Plugin\views\field
View source
class JobItemType extends FieldPluginBase {
  function render(ResultRow $values) {
    if ($entity = $this
      ->getEntity($values)) {
      return $entity
        ->getSourceType();
    }
  }

}

Members