function JobState::operators

Set the operators.

Return value

array Returns operators.

File

src/Plugin/views/filter/JobState.php, line 63

Class

JobState
Filter based on job state.

Namespace

Drupal\tmgmt\Plugin\views\filter

Code

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