Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Follow-up to #2301975: Move drupal_is_front_page to PathMatcher service
Problem/Motivation
We want to remove include files (including path.inc) and move from procedural to OO code.
Proposed resolution
Move path_is_admin() to the PathMatcher service.
Comments
Comment #1
kim.pepperJust saw that we can use
Drupal::service('router.admin_context')->isAdminRoute()
instead.Closing.