You are here

public function Synonym::getPluginCollections in Synonyms 8

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

Gets the plugin collections used by this entity.

Return value

\Drupal\synonyms\SynonymProviderPluginCollection 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 163

Class

Synonym
Synonym configuration entity.

Namespace

Drupal\synonyms\Entity

Code

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