Commit a797ffbb authored by Mateu Aguiló Bosch's avatar Mateu Aguiló Bosch
Browse files

Fix module list

parent 9f398e9d
......@@ -174,7 +174,7 @@ class TypedEntityManager implements TypedEntityManagerInterface {
$module_list = static::$serviceContainer
->get('module_handler')
->getModuleList();
foreach ($module_list as $module_name) {
foreach (array_keys($module_list) as $module_name) {
$names[] = '\\Drupal\\' . $module_name . '\\TypedEntity\\' . $class_name_bundle;
}
......
Supports Markdown
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