public function GoogleAnalyticsBase::init in Google Analytics Reports 8.3
Overrides \Drupal\views\Plugin\views\HandlerBase::init().
Provide some extra help to get the operator/value easier to use.
This likely has to be overridden by filters which are more complex than simple operator/value.
Overrides FilterPluginBase::init
File
- src/
Plugin/ views/ filter/ GoogleAnalyticsBase.php, line 38
Class
- GoogleAnalyticsBase
- Provides base filter functionality for Google Analytics fields.
Namespace
Drupal\google_analytics_reports\Plugin\views\filterCode
public function init(ViewExecutable $view, DisplayPluginBase $display, array &$options = NULL) {
parent::init($view, $display, $options);
$this->isCustom = google_analytics_reports_is_custom($this->realField);
}