public function SingleNestedEnhancer::defaultConfiguration in JSON:API Extras 8
Same name and namespace in other branches
- 8.3 src/Plugin/jsonapi/FieldEnhancer/SingleNestedEnhancer.php \Drupal\jsonapi_extras\Plugin\jsonapi\FieldEnhancer\SingleNestedEnhancer::defaultConfiguration()
- 8.2 src/Plugin/jsonapi/FieldEnhancer/SingleNestedEnhancer.php \Drupal\jsonapi_extras\Plugin\jsonapi\FieldEnhancer\SingleNestedEnhancer::defaultConfiguration()
Gets default configuration for this plugin.
Return value
array An associative array with the default configuration.
Overrides ResourceFieldEnhancerBase::defaultConfiguration
File
- src/
Plugin/ jsonapi/ FieldEnhancer/ SingleNestedEnhancer.php, line 21
Class
- SingleNestedEnhancer
- Perform additional manipulations to date fields.
Namespace
Drupal\jsonapi_extras\Plugin\jsonapi\FieldEnhancerCode
public function defaultConfiguration() {
return [
'path' => 'value',
];
}