diff --git a/core/includes/path.inc b/core/includes/path.inc index bb6263a..122a8b1 100644 --- a/core/includes/path.inc +++ b/core/includes/path.inc @@ -38,7 +38,9 @@ function drupal_is_front_page() { * * @return * Boolean value: TRUE if the path matches a pattern, FALSE otherwise. - * @todo refector usages of this method to use the directly service instead. + * @deprecated as of Drupal 8.0 + * @see \Drupal\Core\Path\PathMatcherInterface::matchPath() + * */ function drupal_match_path($path, $patterns) { $path_matcher = \Drupal::service('path_matcher');