public function Synonym::setProviderConfiguration in Synonyms 8
Same name and namespace in other branches
- 2.0.x src/Entity/Synonym.php \Drupal\synonyms\Entity\Synonym::setProviderConfiguration()
Set synonyms provider plugin configuration for this entity.
Parameters
array $provider_configuration: Array of synonyms provider plugin configuration to set.
Overrides SynonymInterface::setProviderConfiguration
File
- src/
Entity/ Synonym.php, line 134
Class
- Synonym
- Synonym configuration entity.
Namespace
Drupal\synonyms\EntityCode
public function setProviderConfiguration(array $provider_configuration) {
$plugin = $this
->getProviderPluginInstance();
if ($plugin instanceof ConfigurableInterface) {
$plugin
->setConfiguration($provider_configuration);
}
$this->provider_configuration = $provider_configuration;
}