function JobItemState::operators

Set the operators.

Return value

array Returns operators.

File

src/Plugin/views/filter/JobItemState.php, line 49

Class

JobItemState
Filter based on job item state.

Namespace

Drupal\tmgmt\Plugin\views\filter

Code

function operators() {
  $operators = [
    'job_item_state' => [
      'title' => $this
        ->t('Job State'),
      'short' => $this
        ->t('job state'),
      'values' => 1,
    ],
  ];
  return $operators;
}