You are here

public function ProximityFilter::__construct in Geolocation Field 8

Same name and namespace in other branches
  1. 8.3 src/Plugin/views/filter/ProximityFilter.php \Drupal\geolocation\Plugin\views\filter\ProximityFilter::__construct()
  2. 8.2 src/Plugin/views/filter/ProximityFilter.php \Drupal\geolocation\Plugin\views\filter\ProximityFilter::__construct()

Constructs a Handler object.

Parameters

array $configuration: A configuration array containing information about the plugin instance.

string $plugin_id: The plugin_id for the plugin instance.

mixed $plugin_definition: The plugin implementation definition.

\Drupal\geolocation\GeolocationCore $geolocation_core: The GeolocationCore object.

Overrides HandlerBase::__construct

File

src/Plugin/views/filter/ProximityFilter.php, line 46

Class

ProximityFilter
Filter handler for search keywords.

Namespace

Drupal\geolocation\Plugin\views\filter

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, GeolocationCore $geolocation_core) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this->geolocationCore = $geolocation_core;
}