public function FormManglerService::__construct in Rabbit Hole 8
Same name and namespace in other branches
- 2.x src/FormManglerService.php \Drupal\rabbit_hole\FormManglerService::__construct()
Constructor.
File
- src/
FormManglerService.php, line 75
Class
- FormManglerService
- Provides necessary form alterations.
Namespace
Drupal\rabbit_holeCode
public function __construct(EntityTypeManagerInterface $etm, EntityTypeBundleInfo $etbi, RabbitHoleBehaviorPluginManager $behavior_plugin_manager, RabbitHoleEntityPluginManager $entity_plugin_manager, BehaviorSettingsManager $behavior_settings_manager, TranslationInterface $translation, BehaviorInvokerInterface $behavior_invoker) {
$this->entityTypeManager = $etm;
$this->allBundleInfo = $etbi
->getAllBundleInfo();
$this->rhBehaviorPluginManager = $behavior_plugin_manager;
$this->rhEntityPluginManager = $entity_plugin_manager;
$this->rhBehaviorSettingsManager = $behavior_settings_manager;
$this->stringTranslation = $translation;
$this->behaviorInvoker = $behavior_invoker;
}