You are here

public function ResourceFieldEnhancerBase::setConfiguration in JSON:API Extras 8.2

Same name and namespace in other branches
  1. 8.3 src/Plugin/ResourceFieldEnhancerBase.php \Drupal\jsonapi_extras\Plugin\ResourceFieldEnhancerBase::setConfiguration()
  2. 8 src/Plugin/ResourceFieldEnhancerBase.php \Drupal\jsonapi_extras\Plugin\ResourceFieldEnhancerBase::setConfiguration()
1 call to ResourceFieldEnhancerBase::setConfiguration()
ResourceFieldEnhancerBase::getConfiguration in src/Plugin/ResourceFieldEnhancerBase.php

File

src/Plugin/ResourceFieldEnhancerBase.php, line 62

Class

ResourceFieldEnhancerBase
Common base class for resourceFieldEnhancer plugins.

Namespace

Drupal\jsonapi_extras\Plugin

Code

public function setConfiguration(array $configuration) {
  $this->configuration = $configuration + $this
    ->defaultConfiguration();
  return $this->configuration;
}