public function TransactionTypeFormBase::__construct in Transaction 8
Constructs the TransactionTypeFormBase object.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
\Drupal\Core\StringTranslation\TranslationInterface $string_translation: The translation manager.
\Drupal\Core\Entity\EntityTypeBundleInfoInterface $bundle_info: The entity type bundle info.
File
- src/
Form/ TransactionTypeFormBase.php, line 44
Class
- TransactionTypeFormBase
- Base form for transaction type forms.
Namespace
Drupal\transaction\FormCode
public function __construct(EntityTypeManagerInterface $entity_type_manager, TranslationInterface $string_translation, EntityTypeBundleInfoInterface $bundle_info) {
$this->entityTypeManager = $entity_type_manager;
$this->stringTranslation = $string_translation;
$this->bundleInfo = $bundle_info;
}