You are here

public function PaymentStatusManagerInterface::createInstance in Payment 8.2

Creates a payment status.

Parameters

string $plugin_id: The id of the plugin being instantiated.

mixed[] $configuration: An array of configuration relevant to the plugin instance.

Return value

\Drupal\payment\Plugin\Payment\Status\PaymentStatusInterface

Overrides FactoryInterface::createInstance

File

src/Plugin/Payment/Status/PaymentStatusManagerInterface.php, line 23

Class

PaymentStatusManagerInterface
Defines a payment status manager.

Namespace

Drupal\payment\Plugin\Payment\Status

Code

public function createInstance($plugin_id, array $configuration = []);