Deprecate Url::toRenderArray() and Url::renderAccess()

Created on 19 February 2023, almost 2 years ago
Updated 18 October 2023, about 1 year ago

Problem/Motivation

There's only one usage in core and very few in contrib which could be replaced with $url->access()

Steps to reproduce

- http://codcontrib.hank.vps-private.net/search?text=renderAccess&filename= shows usage of both methods in contrib code

Proposed resolution

- Deprecate Url::toRenderArray() and Url::renderAccess()
- File follow-up to remove both in 11.0 📌 [11.x] Remove deprecated code from \Drupal\Core\Url Active

Remaining tasks

-
-
- review/commit

User interface changes

API changes

Data model changes

Release notes snippet

📌 Task
Status

Fixed

Version

10.1 ✨

Component
Routing  →

Last updated 29 minutes ago

Created by

🇫🇷France andypost

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024