public function ProductBundleLazyBuilders::__construct in Commerce Product Bundle 8
Constructs a new ProductBundleLazyBuilders object.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
\Drupal\Core\Form\FormBuilderInterface $form_builder: The form builder.
File
- src/
ProductBundleLazyBuilders.php, line 36
Class
- ProductBundleLazyBuilders
- Provides #lazy_builder callbacks.
Namespace
Drupal\commerce_product_bundleCode
public function __construct(EntityTypeManagerInterface $entity_type_manager, FormBuilderInterface $form_builder) {
$this->entityTypeManager = $entity_type_manager;
$this->formBuilder = $form_builder;
}