You are here

public function CheckoutFlow::setPluginId in Commerce Core 8.2

Sets the checkout flow plugin ID.

Parameters

string $plugin_id: The checkout flow plugin ID.

Return value

$this

Overrides CheckoutFlowInterface::setPluginId

1 call to CheckoutFlow::setPluginId()
CheckoutFlow::set in modules/checkout/src/Entity/CheckoutFlow.php
Sets the value of a property.

File

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

Class

CheckoutFlow
Defines the checkout flow entity class.

Namespace

Drupal\commerce_checkout\Entity

Code

public function setPluginId($plugin_id) {
  $this->plugin = $plugin_id;
  $this->configuration = [];
  $this->pluginCollection = NULL;
  return $this;
}