You are here

public function NumberPattern::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/number_pattern/src/Entity/NumberPattern.php, line 164

Class

NumberPattern
Defines the number pattern entity class.

Namespace

Drupal\commerce_number_pattern\Entity

Code

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