Skip to content
Snippets Groups Projects

Resolve #3432868 "Remove deprecated code"

Closed obsidian_ requested to merge issue/drupal-3432868:3432868-remove-deprecated-code into 11.x
1 unresolved thread

Closes #3432868

Merge request reports

Merged results pipeline #154143 passed with warnings

Pipeline: drupal

#154145

    Merged results pipeline passed with warnings for c23aa12a

    Closed by obsidian_obsidian_ 5 months ago (Nov 26, 2024 6:56am UTC)

    Loading

    Activity

    Filter activity
    • Approvals
    • Assignees & reviewers
    • Comments (from bots)
    • Comments (from users)
    • Commits & branches
    • Edits
    • Labels
    • Lock status
    • Mentions
    • Merge request status
    • Tracking
    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) {
  • added 1 commit

    Compare with previous version

  • Dave Long added 2 commits

    added 2 commits

    Compare with previous version

  • closed

  • Please register or sign in to reply
    Loading