You are here

public function AvatarGenerator::getPluginCollections in Avatar Kit 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/AvatarGenerator.php, line 120

Class

AvatarGenerator
Defines storage for an avatar generator configuration.

Namespace

Drupal\avatars\Entity

Code

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