interface PathMatcherInterface

Provides an interface for URL path matchers.

Hierarchy

File

core/lib/Drupal/Core/Path/PathMatcherInterface.php, line 8

Namespace

Drupal\Core\Path

Members

Name Modifiers Type Description
PathMatcherInterface::isFrontPage public function Checks if the current page is the front page.
PathMatcherInterface::matchPath public function Checks if a path matches any pattern in a set of patterns.

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Path!PathMatcherInterface.php/interface/PathMatcherInterface/8.1.x