summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgit2018-02-23 14:01:56 (GMT)
committerMateu Aguiló Bosch2018-02-23 14:01:56 (GMT)
commitcfdc6fffb8c380be9ce629b11c294ec194390ac3 (patch)
tree87e92fe05a4b2602ac833c731c3ee23441d98f30
parentedecde62de08d74f06f6d8daa5448638d1e2bbdc (diff)
Issue #2947263 by vtcore, e0ipso: Single Nested Property Path doesn't load value from config in edit form8.x-1.0-rc4
-rw-r--r--src/Plugin/jsonapi/FieldEnhancer/SingleNestedEnhancer.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Plugin/jsonapi/FieldEnhancer/SingleNestedEnhancer.php b/src/Plugin/jsonapi/FieldEnhancer/SingleNestedEnhancer.php
index 1bb3bd5..3f080e0 100644
--- a/src/Plugin/jsonapi/FieldEnhancer/SingleNestedEnhancer.php
+++ b/src/Plugin/jsonapi/FieldEnhancer/SingleNestedEnhancer.php
@@ -69,9 +69,9 @@ class SingleNestedEnhancer extends ResourceFieldEnhancerBase {
* {@inheritdoc}
*/
public function getSettingsForm(array $resource_field_info) {
- $settings = empty($resource_field_info['settings'])
+ $settings = empty($resource_field_info['enhancer']['settings'])
? $this->getConfiguration()
- : $resource_field_info['settings'];
+ : $resource_field_info['enhancer']['settings'];
return [
'path' => [