X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fcontent_translation%2Fcontent_translation.install;h=0e47270092177f48ca36b5d15e0084c064c9fcce;hb=af6d1fb995500ae68849458ee10d66abbdcfb252;hp=455d5ed3d8529341feb8ddbdaafab8d12e1f2f56;hpb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;p=yaffs-website diff --git a/web/core/modules/content_translation/content_translation.install b/web/core/modules/content_translation/content_translation.install index 455d5ed3d..0e4727009 100644 --- a/web/core/modules/content_translation/content_translation.install +++ b/web/core/modules/content_translation/content_translation.install @@ -59,6 +59,7 @@ function content_translation_update_8400() { $entity_type_manager = \Drupal::entityTypeManager(); $entity_definition_update_manager = \Drupal::entityDefinitionUpdateManager(); + $entity_type_manager->clearCachedDefinitions(); foreach ($content_translation_manager->getSupportedEntityTypes() as $entity_type_id => $entity_type_definition) { $storage = $entity_type_manager->getStorage($entity_type_id); if ($storage instanceof SqlEntityStorageInterface) {