You are here

public function SingleNestedEnhancer::defaultConfiguration in JSON:API Extras 8.3

Same name and namespace in other branches
  1. 8 src/Plugin/jsonapi/FieldEnhancer/SingleNestedEnhancer.php \Drupal\jsonapi_extras\Plugin\jsonapi\FieldEnhancer\SingleNestedEnhancer::defaultConfiguration()
  2. 8.2 src/Plugin/jsonapi/FieldEnhancer/SingleNestedEnhancer.php \Drupal\jsonapi_extras\Plugin\jsonapi\FieldEnhancer\SingleNestedEnhancer::defaultConfiguration()

Overrides ResourceFieldEnhancerBase::defaultConfiguration

File

src/Plugin/jsonapi/FieldEnhancer/SingleNestedEnhancer.php, line 22

Class

SingleNestedEnhancer
Perform additional manipulations to date fields.

Namespace

Drupal\jsonapi_extras\Plugin\jsonapi\FieldEnhancer

Code

public function defaultConfiguration() {
  return [
    'path' => 'value',
  ];
}