You are here

public function FieldTypeToSynonyms::__construct in Synonyms 2.0.x

Same name and namespace in other branches
  1. 8 src/SynonymsService/FieldTypeToSynonyms.php \Drupal\synonyms\SynonymsService\FieldTypeToSynonyms::__construct()

FieldTypeToSynonyms constructor.

File

src/SynonymsService/FieldTypeToSynonyms.php, line 22

Class

FieldTypeToSynonyms
Service to map known field types to how synonyms are encoded in them.

Namespace

Drupal\synonyms\SynonymsService

Code

public function __construct(ModuleHandlerInterface $module_handler) {
  $this->moduleHandler = $module_handler;
}