Follow-up to #2302331: Move drupal_valid_path to PathValidator service

Problem/Motivation

We want to remove include files (including path.inc) and move from procedural to OO code.

Proposed resolution

Replace instances of deprecated drupal_valid_path with PathValidator

Remaining tasks

RTBC

User interface changes

None

API changes

drupal_valid_path() becomes deprecated

Comments

kim.pepper’s picture

Status: Active » Needs review
StatusFileSize
new8.58 KB

This replaces all found usages of drupal_valid_path().

dawehner’s picture

It would be great to skip the changes in menu for a while, given that they will otherwise conflict with the MENU beta deadline issue.

tim.plunkett’s picture

StatusFileSize
new6.68 KB

Rerolled. Much less to do now.

dawehner’s picture

Status: Needs review » Reviewed & tested by the community

Seems legit.

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Committed 332fad7 and pushed to 8.0.x. Thanks!

  • alexpott committed 332fad7 on 8.0.x
    Issue #2303361 by tim.plunkett, kim.pepper: Replace instances of...

Status: Fixed » Closed (fixed)

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