Loading core/modules/content_translation/content_translation.install +4 −3 Changes for core/modules/content_translation/content_translation.install: 4 added lines, 3 removed lines. Original line number Diff line number Diff line Loading @@ -12,14 +12,15 @@ /** * Implements hook_install(). */ function content_translation_install(): void { function content_translation_install(bool $is_syncing): void { // Assign a fairly low weight to ensure our Order directive is run among the // last ones. \Drupal::service(ModuleWeight::class)->set('content_translation', 10); // Skip the guidance messages about enabling translation features if the // module was installed in the Drupal installation process. if (InstallerKernel::installationAttempted()) { // module was installed in the Drupal installation process or a config // sync. if (InstallerKernel::installationAttempted() || $is_syncing) { return; } Loading Loading
core/modules/content_translation/content_translation.install +4 −3 Changes for core/modules/content_translation/content_translation.install: 4 added lines, 3 removed lines. Original line number Diff line number Diff line Loading @@ -12,14 +12,15 @@ /** * Implements hook_install(). */ function content_translation_install(): void { function content_translation_install(bool $is_syncing): void { // Assign a fairly low weight to ensure our Order directive is run among the // last ones. \Drupal::service(ModuleWeight::class)->set('content_translation', 10); // Skip the guidance messages about enabling translation features if the // module was installed in the Drupal installation process. if (InstallerKernel::installationAttempted()) { // module was installed in the Drupal installation process or a config // sync. if (InstallerKernel::installationAttempted() || $is_syncing) { return; } Loading