You are here

protected property PaymentStatusManager::$defaults in Payment 8.2

A set of defaults to be referenced by $this->processDefinition() if additional processing of plugins is necessary or helpful for development purposes.

Type: array

Overrides DefaultPluginManager::$defaults

File

src/Plugin/Payment/Status/PaymentStatusManager.php, line 40

Class

PaymentStatusManager
Manages discovery and instantiation of payment status plugins.

Namespace

Drupal\payment\Plugin\Payment\Status

Code

protected $defaults = array(
  // The plugin ID. Set by the plugin system based on the top-level YAML key.
  'id' => NULL,
  // The plugin ID of the parent status (required).
  'parent_id' => NULL,
  // The human-readable plugin label (optional).
  'label' => NULL,
  // The human-readable plugin description (optional).
  'description' => NULL,
  // The name of the class that provides plugin operations. The class must
  // implement \Drupal\plugin\PluginOperationsProviderInterface.
  'operations_provider' => NULL,
  // The default plugin class name. Any class must implement
  // \Drupal\payment\Plugin\Payment\Status\PaymentStatusInterface.
  'class' => DefaultPaymentStatus::class,
);