public function GoogleAnalyticsBase::operatorOptions in Google Analytics Reports 8.3
Provide a list of options for the default operator form. Should be overridden by classes that don't override operatorForm
Overrides FilterPluginBase::operatorOptions
2 calls to GoogleAnalyticsBase::operatorOptions()
- GoogleAnalyticsNumeric::adminSummary in src/
Plugin/ views/ filter/ GoogleAnalyticsNumeric.php - Display the filter on the administrative summary
- GoogleAnalyticsString::adminSummary in src/
Plugin/ views/ filter/ GoogleAnalyticsString.php - Display the filter on the administrative summary
File
- src/
Plugin/ views/ filter/ GoogleAnalyticsBase.php, line 75
Class
- GoogleAnalyticsBase
- Provides base filter functionality for Google Analytics fields.
Namespace
Drupal\google_analytics_reports\Plugin\views\filterCode
public function operatorOptions($which = 'title') {
$options = [];
foreach ($this
->operators() as $id => $info) {
$options[$id] = $info[$which];
}
return $options;
}