You are here

public function GoogleAnalyticsStandard::init in Google Analytics Reports 8.3

Initialize the plugin.

Parameters

\Drupal\views\ViewExecutable $view: The view object.

\Drupal\views\Plugin\views\display\DisplayPluginBase $display: The display handler.

array $options: The options configured for this plugin.

Overrides FieldPluginBase::init

File

src/Plugin/views/field/GoogleAnalyticsStandard.php, line 33

Class

GoogleAnalyticsStandard
Provides base field functionality for Google Analytics fields.

Namespace

Drupal\google_analytics_reports\Plugin\views\field

Code

public function init(ViewExecutable $view, DisplayPluginBase $display, array &$options = NULL) {
  parent::init($view, $display, $options);
  $this->isCustom = google_analytics_reports_is_custom($this->realField);
}