public function EntityReferenceTranslationDeriver::__construct in Drupal 9
Same name and namespace in other branches
- 8 core/modules/migrate_drupal/src/Plugin/migrate/EntityReferenceTranslationDeriver.php \Drupal\migrate_drupal\Plugin\migrate\EntityReferenceTranslationDeriver::__construct()
EntityReferenceTranslationDeriver constructor.
Parameters
string $base_plugin_id: The base plugin ID.
\Drupal\Core\Entity\EntityFieldManagerInterface $entity_field_manager: The entity field manager.
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
File
- core/
modules/ migrate_drupal/ src/ Plugin/ migrate/ EntityReferenceTranslationDeriver.php, line 74
Class
- EntityReferenceTranslationDeriver
- Deriver for entity reference field translations.
Namespace
Drupal\migrate_drupal\Plugin\migrateCode
public function __construct($base_plugin_id, EntityFieldManagerInterface $entity_field_manager, EntityTypeManagerInterface $entity_type_manager) {
$this->entityFieldManager = $entity_field_manager;
$this->entityTypeManager = $entity_type_manager;
}