function ContentTranslationFormHooks::__construct

File

core/modules/content_translation/src/Hook/ContentTranslationFormHooks.php, line 26

Class

ContentTranslationFormHooks
Form hook implementations for content_translation.

Namespace

Drupal\content_translation\Hook

Code

public function __construct(protected readonly EntityTypeManagerInterface $entityTypeManager, protected readonly AccountInterface $currentUser, protected readonly ContentTranslationManagerInterface $contentTranslationManager, protected readonly RedirectDestinationInterface $redirectDestination, protected readonly FieldSyncWidget $fieldSyncWidget) {
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.