Problem/Motivation

Our recommended way of generating URLs is the URL object

Proposed resolution

Let's mark \Drupal::url() as deprecated

Remaining tasks

User interface changes

API changes

Data model changes

CommentFileSizeAuthor
#2 2605546-2.patch778 bytesdawehner

Comments

dawehner created an issue. See original summary.

dawehner’s picture

Status: Active » Needs review
Issue tags: +rc target triage
StatusFileSize
new778 bytes

There we go.

cilefen’s picture

Issue summary: View changes
Status: Needs review » Reviewed & tested by the community

There is not much to say here.

wim leers’s picture

The conclusion of a DrupalCon Barcelona hard problems meeting was to deprecate this indeed: https://docs.google.com/document/d/1BxgNvyIRcxYGzzA1DLkZ6A4-c8gGFixypNvP....

catch’s picture

grep -r "Drupal::url" * | wc -l
     419

Do we have an issue to convert those usages?

catch’s picture

Issue tags: -rc target triage +rc target

Discussed with Alex Pott and we agreed this could go into RC as an RC target.

To address resolving the usages, I opened #2607260: [meta] Core deprecation message introduction, contrib testing etc..

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Committed 49aeced and pushed to 8.0.x. Thanks!

  • alexpott committed 49aeced on 8.0.x
    Issue #2605546 by dawehner: Mark \Drupal::url() as deprecated
    

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.