Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. PathMatcherInterface.php

function PathMatcherInterface::isFrontPage

Checks if the current page is the front page.

Return value

bool TRUE if the current page is the front page.

1 method overrides PathMatcherInterface::isFrontPage()
PathMatcher::isFrontPage in core/lib/Drupal/Core/Path/PathMatcher.php
Checks 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();
RSS feed
Powered by Drupal