public function Synonym::setProviderPlugin in Synonyms 8
Same name and namespace in other branches
- 2.0.x src/Entity/Synonym.php \Drupal\synonyms\Entity\Synonym::setProviderPlugin()
Set the synonyms provider plugin to use in this entity.
Parameters
string $plugin: Synonyms provider plugin ID to set in this configuration entity.
Overrides SynonymInterface::setProviderPlugin
File
- src/
Entity/ Synonym.php, line 116
Class
- Synonym
- Synonym configuration entity.
Namespace
Drupal\synonyms\EntityCode
public function setProviderPlugin($plugin) {
$this->provider_plugin = $plugin;
}