Skip to content
Snippets Groups Projects

fix the issue Not compatible with config_split module

1 file
+ 3
0
Compare changes
  • Side-by-side
  • Inline
@@ -61,7 +61,10 @@ class ConditionalFieldsElementAlterHelper {
*/
if (is_object($bundle) && method_exists($bundle, 'getPluginId')) {
$bundle = $bundle->getPluginId();
} elseif (is_object($bundle) && method_exists($bundle, 'bundle')) {
$bundle = $bundle->bundle();
}
$dependencies = $this->loadDependencies($entity_type, $bundle);
Loading