function StubPathMatcher::isFrontPage

Same name and namespace in other branches
  1. 11.x core/modules/system/tests/src/Kernel/Block/StubPathMatcher.php \Drupal\Tests\system\Kernel\Block\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.