Created
September 30, 2015 16:39
-
-
Save vijaycs85/4da5e59a14b9ddf46757 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/core/lib/Drupal/Core/Config/TypedConfigManager.php b/core/lib/Drupal/Core/Config/TypedConfigManager.php | |
index 6ccf8fd..6415e6b 100644 | |
--- a/core/lib/Drupal/Core/Config/TypedConfigManager.php | |
+++ b/core/lib/Drupal/Core/Config/TypedConfigManager.php | |
@@ -153,15 +153,15 @@ public function getDefinition($base_plugin_id, $exception_on_invalid = TRUE, $va | |
// If the sub type has a bracket then lets look that up as well. | |
if (isset($value) && strpos($definition['type'], ']')) { | |
$sub_type = $this->replaceName($definition['type'], $value); | |
- $merge = $definitions[$sub_type]; | |
- $definition = NestedArray::mergeDeepArray(array($merge, $definition), TRUE); | |
+ $sub_type_merge = $this->getDefinition($sub_type); | |
+ $definition = NestedArray::mergeDeepArray(array($sub_type_merge, $definition), TRUE); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment