service content_translation.synchronizer in Drupal 10
Same name and namespace in other branches
- 8 core/modules/content_translation/content_translation.services.yml \content_translation.synchronizer
- 9 core/modules/content_translation/content_translation.services.yml \content_translation.synchronizer
Class
Drupal\content_translation\FieldTranslationSynchronizer4 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
- class: Drupal\content_translation\FieldTranslationSynchronizer
- arguments:
- - '@entity_type.manager'
- - '@plugin.manager.field.field_type'