You are here

public function MappingFieldTypesEvent::__construct in Search API 8

Constructs a new class instance.

Parameters

array $fieldTypeMapping: Reference to the field type mapping.

File

src/Event/MappingFieldTypesEvent.php, line 25

Class

MappingFieldTypesEvent
Wraps a field types mapped event.

Namespace

Drupal\search_api\Event

Code

public function __construct(array &$fieldTypeMapping) {
  $this->fieldTypeMapping =& $fieldTypeMapping;
}