PathMatcher::$isCurrentFrontPage

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Path/PathMatcher.php \Drupal\Core\Path\PathMatcher::isCurrentFrontPage
  2. 10 core/lib/Drupal/Core/Path/PathMatcher.php \Drupal\Core\Path\PathMatcher::isCurrentFrontPage
  3. 11.x core/lib/Drupal/Core/Path/PathMatcher.php \Drupal\Core\Path\PathMatcher::isCurrentFrontPage

Whether the current page is the front page.

Type: bool

File

core/lib/Drupal/Core/Path/PathMatcher.php, line 19

Class

PathMatcher
Provides a path matcher.

Namespace

Drupal\Core\Path

Code

protected $isCurrentFrontPage;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.