You are here

public function CheckoutFlow::getPlugin in Commerce Core 8.2

Gets the checkout flow plugin.

Return value

\Drupal\commerce_checkout\Plugin\Commerce\CheckoutFlow\CheckoutFlowInterface The checkout flow plugin.

Overrides CheckoutFlowInterface::getPlugin

1 call to CheckoutFlow::getPlugin()
CheckoutFlow::onDependencyRemoval in modules/checkout/src/Entity/CheckoutFlow.php
Informs the entity that entities it depends on will be deleted.

File

modules/checkout/src/Entity/CheckoutFlow.php, line 97

Class

CheckoutFlow
Defines the checkout flow entity class.

Namespace

Drupal\commerce_checkout\Entity

Code

public function getPlugin() {
  return $this
    ->getPluginCollection()
    ->get($this->plugin);
}