You are here

public function FieldHandlerBase::__construct in CRM Core 8.2

Same name and namespace in other branches
  1. 8.3 modules/crm_core_match/src/Plugin/crm_core_match/field/FieldHandlerBase.php \Drupal\crm_core_match\Plugin\crm_core_match\field\FieldHandlerBase::__construct()
  2. 8 modules/crm_core_match/src/Plugin/crm_core_match/field/FieldHandlerBase.php \Drupal\crm_core_match\Plugin\crm_core_match\field\FieldHandlerBase::__construct()

Constructs an plugin instance.

File

modules/crm_core_match/src/Plugin/crm_core_match/field/FieldHandlerBase.php, line 64

Class

FieldHandlerBase
Class FieldHandlerBase.

Namespace

Drupal\crm_core_match\Plugin\crm_core_match\field

Code

public function __construct(FieldDefinitionInterface $field, QueryFactory $query_factory, array $configuration, $id, $definition) {
  $this->configuration = $configuration;
  $this->definition = $definition;
  $this->id = $id;
  $this->field = $field;
  $this->queryFactory = $query_factory;
}