diff --git a/core/modules/content_translation/content_translation.module b/core/modules/content_translation/content_translation.module index bae5855..fe5690d 100644 --- a/core/modules/content_translation/content_translation.module +++ b/core/modules/content_translation/content_translation.module @@ -196,7 +196,7 @@ function content_translation_entity_base_field_info(EntityTypeInterface $entity_ * Implements hook_ENTITY_TYPE_insert() for language content settings. */ function content_translation_language_content_settings_insert(ContentLanguageSettingsInterface $settings) { - // @see ContentTranslationManager::isEnabled() + // @see \Drupal\content_translation\ContentTranslationManager::isEnabled() if ($settings->getThirdPartySetting('content_translation', 'enabled', FALSE)) { $entity_type_id = $settings->getTargetEntityTypeId(); $entity_type = \Drupal::entityTypeManager()->getDefinition($entity_type_id); @@ -212,7 +212,7 @@ function content_translation_language_content_settings_insert(ContentLanguageSet function content_translation_language_content_settings_update(ContentLanguageSettingsInterface $settings) { /** @var \Drupal\language\ContentLanguageSettingsInterface $original_settings */ $original_settings = $settings->original; - // @see ContentTranslationManager::isEnabled() + // @see \Drupal\content_translation\ContentTranslationManager::isEnabled() if ($settings->getThirdPartySetting('content_translation', 'enabled', FALSE) && !$original_settings->getThirdPartySetting('content_translation', 'enabled', FALSE) ) { diff --git a/core/modules/content_translation/src/ContentTranslationUpdatesManager.php b/core/modules/content_translation/src/ContentTranslationUpdatesManager.php index 4fa54f3..774a84c 100644 --- a/core/modules/content_translation/src/ContentTranslationUpdatesManager.php +++ b/core/modules/content_translation/src/ContentTranslationUpdatesManager.php @@ -94,11 +94,6 @@ public function onMigrateImport(MigrateImportEvent $event) { * {@inheritdoc} */ public static function getSubscribedEvents() { - $events[ConfigEvents::IMPORT][] = ['onConfigImporterImport', 60]; - if (class_exists('\Drupal\migrate\Event\MigrateEvents')) { - $events[MigrateEvents::POST_IMPORT][] = ['onMigrateImport']; - } - return $events; } }