You are here

public function Proximity::__construct in CiviCRM Entity 8.3

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.

Overrides HandlerBase::__construct

File

src/Plugin/views/filter/Proximity.php, line 35

Class

Proximity
Filter handler for proximity.

Namespace

Drupal\civicrm_entity\Plugin\views\filter

Code

public function __construct(array $configuration, $plugin_id, array $plugin_definition, CiviCrmApiInterface $civicrm_api) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this->civicrmApi = $civicrm_api;
  $this->alwaysMultiple = TRUE;
  $this->no_operator = TRUE;
}