public function PathMatcherInterface::isFrontPage

public 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\Path

Code

public function isFrontPage();

© 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/function/PathMatcherInterface::isFrontPage/8.1.x