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.

Remaining tasks

User interface changes

API changes

Comments

kim.pepper’s picture

Status: Active » Closed (duplicate)

Just saw that we can use Drupal::service('router.admin_context')->isAdminRoute() instead.

Closing.