You are here

public function Synonym::getPluginCollections in Synonyms 2.0.x

Same name and namespace in other branches
  1. 8 src/Entity/Synonym.php \Drupal\synonyms\Entity\Synonym::getPluginCollections()

Gets the plugin collections used by this entity.

Return value

\Drupal\synonyms\ProviderPluginCollection An array of plugin collections, keyed by the property name they use to store their configuration.

Overrides ObjectWithPluginCollectionInterface::getPluginCollections

File

src/Entity/Synonym.php, line 132

Class

Synonym
Synonym configuration entity.

Namespace

Drupal\synonyms\Entity

Code

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