You are here

public function BillingSchedule::getPluginCollections in Commerce Recurring Framework 8

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

src/Entity/BillingSchedule.php, line 298

Class

BillingSchedule
Defines the billing schedule entity class.

Namespace

Drupal\commerce_recurring\Entity

Code

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