public function Synonym::getProviderConfiguration in Synonyms 2.0.x
Same name and namespace in other branches
- 8 src/Entity/Synonym.php \Drupal\synonyms\Entity\Synonym::getProviderConfiguration()
Get synonyms provider plugin configuration from this entity.
Return value
array Array of synonyms provider plugin configuration
Overrides SynonymInterface::getProviderConfiguration
File
- src/
Entity/ Synonym.php, line 106
Class
- Synonym
- Synonym configuration entity.
Namespace
Drupal\synonyms\EntityCode
public function getProviderConfiguration() {
$plugin = $this
->getProviderPluginInstance();
if ($plugin instanceof ConfigurableInterface) {
return $plugin
->getConfiguration();
}
return $this->provider_configuration;
}