Skip to content
Snippets Groups Projects

Removed plugin manager code that enforces false module dependencies

1 file
+ 0
5
Compare changes
  • Side-by-side
  • Inline
+ 0
5
@@ -71,11 +71,6 @@ class ConditionManager extends DefaultPluginManager implements ConditionManagerI
throw new PluginException(sprintf('The condition "%s" must define the "%s" property.', $plugin_id, $required_property));
}
}
$entity_type_id = $definition['entity_type'];
if (!$this->entityTypeManager->getDefinition($entity_type_id)) {
throw new PluginException(sprintf('The condition "%s" must specify a valid entity type, "%s" given.', $plugin_id, $entity_type_id));
}
}
/**
Loading