You are here

service content_translation.synchronizer in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/content_translation/content_translation.services.yml \content_translation.synchronizer
  2. 9 core/modules/content_translation/content_translation.services.yml \content_translation.synchronizer

Class

Drupal\content_translation\FieldTranslationSynchronizer
4 string references to content_translation.synchronizer
ContentTranslationSynchronizedFieldsConstraintValidator::create in core/modules/content_translation/src/Plugin/Validation/Constraint/ContentTranslationSynchronizedFieldsConstraintValidator.php
Instantiates a new instance of this class.
content_translation_entity_presave in core/modules/content_translation/content_translation.module
Implements hook_entity_presave().
hook_entity_presave in core/lib/Drupal/Core/Entity/entity.api.php
Act on an entity before it is created or updated.
hook_ENTITY_TYPE_presave in core/lib/Drupal/Core/Entity/entity.api.php
Act on a specific type of entity before it is created or updated.

File

core/modules/content_translation/content_translation.services.yml
core/modules/content_translation/content_translation.services.yml

View source
  1. class: Drupal\content_translation\FieldTranslationSynchronizer
  2. arguments:
  3. - '@entity_type.manager'
  4. - '@plugin.manager.field.field_type'