Resolve #3432868 "Remove deprecated code"
1 unresolved thread
Closes #3432868
Merge request reports
Activity
added 1 commit
added 296 commits
-
30a816d2...c538912c - 294 commits from branch
project:11.x
- 79e7a88f - Merge branch '11.x' of git.drupal.org:project/drupal into 3432868-remove-deprecated-code
- 6d8689af - Remove additional deprecations
-
30a816d2...c538912c - 294 commits from branch
83 82 * The module handler. 84 83 * @param \Drupal\Core\StringTranslation\TranslationInterface $string_translation 85 84 * The string translation. 86 * @param \Drupal\Core\Utility\CallableResolver|\Drupal\Core\Controller\ControllerResolverInterface $callable_resolver 85 * @param \Drupal\Core\Utility\CallableResolver $callable_resolver 87 86 * The callable resolver. 88 87 * @param \Drupal\Core\Extension\ModuleExtensionList|null $moduleExtensionList 89 88 * The module extension list. 90 89 */ 91 public function __construct(ModuleHandlerInterface $module_handler, TranslationInterface $string_translation, ControllerResolverInterface|CallableResolver $callable_resolver, protected ?ModuleExtensionList $moduleExtensionList = NULL) { 92 if ($callable_resolver instanceof ControllerResolverInterface) { 93 @trigger_error('Calling ' . __METHOD__ . '() with an argument of ControllerResolverInterface is deprecated in drupal:10.2.0 and is removed in drupal:11.0.0. Use \Drupal\Core\Utility\CallableResolver instead. See https://www.drupal.org/node/3397954', E_USER_DEPRECATED); 94 $callable_resolver = \Drupal::service('callable_resolver'); 95 } 90 public function __construct(ModuleHandlerInterface $module_handler, TranslationInterface $string_translation, CallableResolver $callable_resolver, protected ?ModuleExtensionList $moduleExtensionList = NULL) { changed this line in version 6 of the diff
added 2 commits
Please register or sign in to reply