You are here

public function OrderViewBuilder::__construct in Ubercart 8.4

Constructs a new EntityViewBuilder.

Parameters

\Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type definition.

\Drupal\Core\Entity\EntityRepositoryInterface $entity_repository: The entity repository service.

\Drupal\Core\Language\LanguageManagerInterface $language_manager: The language manager.

\Drupal\Core\Theme\Registry $theme_registry: The theme registry.

\Drupal\Core\Entity\EntityDisplayRepositoryInterface $entity_display_repository: The entity display repository.

Overrides EntityViewBuilder::__construct

File

uc_order/src/OrderViewBuilder.php, line 28

Class

OrderViewBuilder
View builder for orders.

Namespace

Drupal\uc_order

Code

public function __construct(EntityTypeInterface $entity_type, EntityManagerInterface $entity_manager, LanguageManagerInterface $language_manager, OrderPaneManager $order_pane_manager) {
  parent::__construct($entity_type, $entity_manager, $language_manager);
  $this->orderPaneManager = $order_pane_manager;
}