diff --git a/core/modules/statistics/lib/Drupal/statistics/Plugin/views/field/AccesslogPath.php b/core/modules/statistics/lib/Drupal/statistics/Plugin/views/field/AccesslogPath.php index c00a408..09751da 100644 --- a/core/modules/statistics/lib/Drupal/statistics/Plugin/views/field/AccesslogPath.php +++ b/core/modules/statistics/lib/Drupal/statistics/Plugin/views/field/AccesslogPath.php @@ -9,6 +9,7 @@ use Drupal\views\ViewExecutable; use Drupal\views\Plugin\views\field\FieldPluginBase; +use Drupal\views\Plugin\views\display\DisplayPluginBase; use Drupal\Core\Annotation\Plugin; /** @@ -26,7 +27,7 @@ class AccesslogPath extends FieldPluginBase { /** * Overrides \Drupal\views\Plugin\views\field\FieldPluginBase::init(). */ - public function init(ViewExecutable $view, &$display, $options = NULL) { + public function init(ViewExecutable $view, DisplayPluginBase $display, array &$options = NULL) { parent::init($view, $display, $options); if (!empty($this->options['display_as_link'])) {