function PathMatcherInterface::isFrontPage
Same name in other branches
- 9 core/lib/Drupal/Core/Path/PathMatcherInterface.php \Drupal\Core\Path\PathMatcherInterface::isFrontPage()
- 8.9.x core/lib/Drupal/Core/Path/PathMatcherInterface.php \Drupal\Core\Path\PathMatcherInterface::isFrontPage()
- 11.x core/lib/Drupal/Core/Path/PathMatcherInterface.php \Drupal\Core\Path\PathMatcherInterface::isFrontPage()
Checks if the current page is the front page.
Return value
bool TRUE if the current page is the front page.
File
-
core/
lib/ Drupal/ Core/ Path/ PathMatcherInterface.php, line 29
Class
- PathMatcherInterface
- Provides an interface for URL path matchers.
Namespace
Drupal\Core\PathCode
public function isFrontPage();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.