'message' => '#^Method Drupal\\\\content_translation\\\\BundleTranslationSettingsInterface\\:\\:setBundleTranslationSettings\\(\\) has no return type specified\\.$#',
@trigger_error(__METHOD__.'() is deprecated in drupal:11.4.0 and is removed from drupal:13.0.0. Use the access() method of the content_translation.manager service instead. See https://www.drupal.org/node/3567484',E_USER_DEPRECATED);
@trigger_error('Calling '.__METHOD__.'() with the $module_handler argument is deprecated in drupal:11.4.0 and is removed from drupal:12.0.0. See https://www.drupal.org/node/3566911',E_USER_DEPRECATED);
}
}
/**
@@ -81,7 +83,6 @@ public static function create(ContainerInterface $container) {
returnnewstatic(
$container->get('entity_type.manager'),
$container->get('date.formatter'),
$container->get('module_handler'),
$container->get('tempstore.private')
);
}
@@ -227,12 +228,7 @@ public function buildForm(array $form, FormStateInterface $form_state, $type = '
@trigger_error(__FUNCTION__.'() is deprecated in drupal:11.4.0 and is removed from drupal:12.0.0. Use \Drupal\content_translation\Hook\ContentTranslationHooks::installFieldStorageDefinitions() instead. See https://www.drupal.org/node/3567484',E_USER_DEPRECATED);
@trigger_error(__FUNCTION__.'() is deprecated in drupal:11.4.0 and is removed from drupal:13.0.0. Use the access() method of the content_translation.manager service instead. See https://www.drupal.org/node/3567484',E_USER_DEPRECATED);
@trigger_error(__FUNCTION__.'() is deprecated in drupal:11.4.0 and is removed from drupal:13.0.0. Use Drupal\content_translation\ContentTranslationEnableTranslationPerBundle::getWidget() instead. See https://www.drupal.org/node/3566911',E_USER_DEPRECATED);
@trigger_error(__FUNCTION__.'() is deprecated in drupal:11.4.0 and is removed from drupal:13.0.0. Use \Drupal\content_translation\ContentTranslationEnableTranslationPerBundle::configElementProcess() instead. See https://www.drupal.org/node/3566911',E_USER_DEPRECATED);
// @todo Set the correct form element name as soon as the element parents
// are correctly set. We should be using NestedArray::getValue() but for
// now we cannot.
$form_state->setErrorByName('',t('"Show language selector" is not compatible with translating content that has default language: %choice. Either do not hide the language selector or pick a specific language.',['%choice'=>$locked_languages[$values['langcode']]]));
}
@trigger_error(__FUNCTION__.'() is deprecated in drupal:11.4.0 and is removed from drupal:13.0.0. Use Drupal\content_translation\ContentTranslationEnableTranslationPerBundle::configElementValidate() instead. See https://www.drupal.org/node/3566911',E_USER_DEPRECATED);
@trigger_error(__FUNCTION__.'() is deprecated in drupal:11.4.0 and is removed from drupal:13.0.0. Use Drupal\content_translation\ContentTranslationEnableTranslationPerBundle::configElementSubmit() instead. See https://www.drupal.org/node/3566911',E_USER_DEPRECATED);
@trigger_error(__FUNCTION__.'() is deprecated in drupal:11.4.0 and is removed from drupal:12.0.0. Use Drupal\content_translation\FieldSyncWidget::widget() instead. See https://www.drupal.org/node/3548573',E_USER_DEPRECATED);
@trigger_error(__FUNCTION__.'() is deprecated in drupal:11.4.0 and is removed from drupal:13.0.0. Use Drupal\content_translation\FieldSyncWidget::widget() instead. See https://www.drupal.org/node/3548573',E_USER_DEPRECATED);