diff --git a/core/modules/content_translation/content_translation.services.yml b/core/modules/content_translation/content_translation.services.yml index f7cc11f..cc4a8c9 100644 --- a/core/modules/content_translation/content_translation.services.yml +++ b/core/modules/content_translation/content_translation.services.yml @@ -28,5 +28,3 @@ services: content_translation.updates_manager: class: Drupal\content_translation\ContentTranslationUpdatesManager arguments: ['@entity.manager', '@entity.definition_update_manager'] - tags: - - { name: event_subscriber } diff --git a/core/modules/content_translation/src/ContentTranslationUpdatesManager.php b/core/modules/content_translation/src/ContentTranslationUpdatesManager.php index 774a84c..5cc2ae6 100644 --- a/core/modules/content_translation/src/ContentTranslationUpdatesManager.php +++ b/core/modules/content_translation/src/ContentTranslationUpdatesManager.php @@ -3,18 +3,15 @@ namespace Drupal\content_translation; use Drupal\Component\Utility\NestedArray; -use Drupal\Core\Config\ConfigEvents; use Drupal\Core\Entity\EntityDefinitionUpdateManagerInterface; use Drupal\Core\Entity\EntityManagerInterface; use Drupal\Core\Entity\EntityTypeInterface; -use Drupal\migrate\Event\MigrateEvents; use Drupal\migrate\Event\MigrateImportEvent; -use Symfony\Component\EventDispatcher\EventSubscriberInterface; /** * Provides the logic needed to update field storage definitions when needed. */ -class ContentTranslationUpdatesManager implements EventSubscriberInterface { +class ContentTranslationUpdatesManager { /** * The entity manager. @@ -90,10 +87,4 @@ public function onMigrateImport(MigrateImportEvent $event) { } } - /** - * {@inheritdoc} - */ - public static function getSubscribedEvents() { - } - }