public function ProductVariationFieldRendererLayoutBuilder::__construct in Commerce Core 8.2
Constructs a new ProductVariationFieldRendererLayoutBuilder object.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
\Drupal\Core\Entity\EntityDisplayRepositoryInterface $entity_display_repository: The entity display repository.
Overrides ProductVariationFieldRenderer::__construct
File
- modules/
product/ src/ ProductVariationFieldRendererLayoutBuilder.php, line 32
Class
Namespace
Drupal\commerce_productCode
public function __construct(EntityTypeManagerInterface $entity_type_manager, EntityDisplayRepositoryInterface $entity_display_repository) {
parent::__construct($entity_type_manager);
$this->entityDisplayRepository = $entity_display_repository;
}