function TypedDataPropertyDeriverBase::__construct

Same name in other branches
  1. 8.x-3.x src/Plugin/Deriver/TypedDataPropertyDeriverBase.php \Drupal\ctools\Plugin\Deriver\TypedDataPropertyDeriverBase::__construct()

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 45

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;
}