public function FieldHandlerBase::__construct in CRM Core 8.3
Same name and namespace in other branches
- 8 modules/crm_core_match/src/Plugin/crm_core_match/field/FieldHandlerBase.php \Drupal\crm_core_match\Plugin\crm_core_match\field\FieldHandlerBase::__construct()
- 8.2 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.
Parameters
\Drupal\Core\Field\FieldDefinitionInterface $field: Field definition.
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: Entity Type Manager.
array $configuration: Configuration.
string $id: ID.
mixed $definition: Definition.
File
- modules/
crm_core_match/ src/ Plugin/ crm_core_match/ field/ FieldHandlerBase.php, line 75
Class
- FieldHandlerBase
- Class FieldHandlerBase.
Namespace
Drupal\crm_core_match\Plugin\crm_core_match\fieldCode
public function __construct(FieldDefinitionInterface $field, EntityTypeManagerInterface $entity_type_manager, array $configuration, $id, $definition) {
$this->configuration = $configuration;
$this->definition = $definition;
$this->id = $id;
$this->field = $field;
$this->entityTypeManager = $entity_type_manager;
}