1 drupal.inc drupal_match_path($path, $patterns)

Check if a path matches any pattern in a set of patterns.

Deprecated

since 1.0.0

See also

backdrop_match_path()

Related topics

File

core/includes/drupal.inc, line 2206
Contains constants and function wrappers for Drupal 7.x compatibility.

Code

function drupal_match_path($path, $patterns) {
  watchdog_deprecated_function('drupal', __FUNCTION__);
  return backdrop_match_path($path, $patterns);
}