You are here

public function GoogleAnalyticsDate::operators in Google Analytics Reports 8.3

Overrides NumericFilter::operators

File

src/Plugin/views/filter/GoogleAnalyticsDate.php, line 19

Class

GoogleAnalyticsDate
A handler to provide filters for Google Analytics dates.

Namespace

Drupal\google_analytics_reports\Plugin\views\filter

Code

public function operators() {
  $operators = [
    '=' => [
      'title' => $this
        ->t('Is equal to'),
      'method' => 'opSimple',
      'short' => $this
        ->t('='),
      'values' => 1,
    ],
  ];
  return $operators;
}