function StubPathMatcher::isFrontPage

Overrides PathMatcher::isFrontPage

File

core/modules/system/tests/src/Kernel/Block/StubPathMatcher.php, line 17

Class

StubPathMatcher
A class extending PatchMatcher for testing purposes.

Namespace

Drupal\Tests\system\Kernel\Block

Code

public function isFrontPage() : bool {
    return FALSE;
}

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