summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlogickal2017-10-11 21:34:57 +0900
committerMateu Aguiló Bosch2017-10-11 21:34:57 +0900
commit6f5d000a156b1fec1f99ab3b8dbeb6a9f1e35cee (patch)
tree431ca9115e655507d76601eaba826d7a3b591c28
parente0606b9d321d4934bd1c73153aadf55cc7340ebe (diff)
fix(Configuration): Fix the config dependency (#2913958 by logickal)8.x-1.0-beta2
-rw-r--r--src/Entity/JsonapiResourceConfig.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Entity/JsonapiResourceConfig.php b/src/Entity/JsonapiResourceConfig.php
index 02b85b8..ec3f9e0 100644
--- a/src/Entity/JsonapiResourceConfig.php
+++ b/src/Entity/JsonapiResourceConfig.php
@@ -86,6 +86,6 @@ class JsonapiResourceConfig extends ConfigEntityBase {
$id = explode('--',$this->id);
$typeManager = $this->entityTypeManager();
$dependency = $typeManager->getDefinition($id[0])->getBundleConfigDependency($id[1]);
- $this->addDependency('config', $dependency['name']);
+ $this->addDependency($dependency['type'], $dependency['name']);
}
}