You are here

public function Synonym::getProviderPlugin in Synonyms 2.0.x

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

Get ID of the synonyms provider plugin that is set up in this entity.

Return value

string Plugin ID of synonyms provider that corresponds to this configuration entity

Overrides SynonymInterface::getProviderPlugin

2 calls to Synonym::getProviderPlugin()
Synonym::getPluginCollection in src/Entity/Synonym.php
Encapsulates the creation of entity's LazyPluginCollection.
Synonym::getProviderPluginInstance in src/Entity/Synonym.php
Get instance of the synonyms provider plugin that is set up in this entity.

File

src/Entity/Synonym.php, line 92

Class

Synonym
Synonym configuration entity.

Namespace

Drupal\synonyms\Entity

Code

public function getProviderPlugin() {
  return $this->provider_plugin;
}