You are here

public function DefaultCheckoutFlowResolver::__construct in Commerce Core 8.2

Constructs a new DefaultCheckoutFlowResolver object.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.

File

modules/checkout/src/Resolver/DefaultCheckoutFlowResolver.php, line 26

Class

DefaultCheckoutFlowResolver
Returns the order type's default checkout flow.

Namespace

Drupal\commerce_checkout\Resolver

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager) {
  $this->entityTypeManager = $entity_type_manager;
}