You are here

public function PaymentGateway::getPluginCollections in Commerce Core 8.2

Gets the plugin collections used by this object.

Return value

\Drupal\Component\Plugin\LazyPluginCollection[] An array of plugin collections, keyed by the property name they use to store their configuration.

Overrides ObjectWithPluginCollectionInterface::getPluginCollections

File

modules/payment/src/Entity/PaymentGateway.php, line 184

Class

PaymentGateway
Defines the payment gateway entity class.

Namespace

Drupal\commerce_payment\Entity

Code

public function getPluginCollections() {
  return [
    'configuration' => $this
      ->getPluginCollection(),
  ];
}