You are here

public function TypedDataPropertyDeriverBase::__construct in Chaos Tool Suite (ctools) 8.3

TypedDataPropertyDeriverBase constructor.

Parameters

\Drupal\Core\TypedData\TypedDataManagerInterface $typed_data_manager: The typed data manager.

\Drupal\Core\StringTranslation\TranslationInterface $string_translation: The string translation service.

File

src/Plugin/Deriver/TypedDataPropertyDeriverBase.php, line 43

Class

TypedDataPropertyDeriverBase

Namespace

Drupal\ctools\Plugin\Deriver

Code

public function __construct(TypedDataManagerInterface $typed_data_manager, TranslationInterface $string_translation) {
  $this->typedDataManager = $typed_data_manager;
  $this->stringTranslation = $string_translation;
}