Unverified Commit 95eecfdc authored by dawehner's avatar dawehner Committed by Mateu Aguiló Bosch

fix(Resource Repository): Fix regression in...

fix(Resource Repository): Fix regression in ConfigurableResourceTypeRepository::getResourceTypes (#2907429 by dawehner)
parent 74efb5b5
......@@ -98,7 +98,7 @@ class ConfigurableResourceTypeRepository extends ResourceTypeRepository {
foreach ($entity_type_ids as $entity_type_id) {
$bundles = array_keys($this->bundleManager->getBundleInfo($entity_type_id));
$resource_config_ids = array_merge($resource_config_ids, array_map(function ($bundle) use ($entity_type_id) {
$resource_config_ids[] = sprintf('%s--%s', $entity_type_id, $bundle);
return sprintf('%s--%s', $entity_type_id, $bundle);
}, $bundles));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment