function TypedDataPropertyDeriverBase::__construct
Same name in other branches
- 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
Namespace
Drupal\ctools\Plugin\DeriverCode
public function __construct(TypedDataManagerInterface $typed_data_manager, TranslationInterface $string_translation) {
$this->typedDataManager = $typed_data_manager;
$this->stringTranslation = $string_translation;
}