public function ResourceFieldEnhancerBase::setConfiguration in JSON:API Extras 8.3
Same name and namespace in other branches
- 8 src/Plugin/ResourceFieldEnhancerBase.php \Drupal\jsonapi_extras\Plugin\ResourceFieldEnhancerBase::setConfiguration()
- 8.2 src/Plugin/ResourceFieldEnhancerBase.php \Drupal\jsonapi_extras\Plugin\ResourceFieldEnhancerBase::setConfiguration()
1 call to ResourceFieldEnhancerBase::setConfiguration()
File
- src/
Plugin/ ResourceFieldEnhancerBase.php, line 62
Class
- ResourceFieldEnhancerBase
- Common base class for resourceFieldEnhancer plugins.
Namespace
Drupal\jsonapi_extras\PluginCode
public function setConfiguration(array $configuration) {
$this->configuration = $configuration + $this
->defaultConfiguration();
return $this->configuration;
}