function TestDefaultHtmlRouteProvider::getAddPageRoute

Same name in other branches
  1. 9 core/tests/Drupal/Tests/Core/Entity/Routing/DefaultHtmlRouteProviderTest.php \Drupal\Tests\Core\Entity\Routing\TestDefaultHtmlRouteProvider::getAddPageRoute()
  2. 8.9.x core/tests/Drupal/Tests/Core/Entity/Routing/DefaultHtmlRouteProviderTest.php \Drupal\Tests\Core\Entity\Routing\TestDefaultHtmlRouteProvider::getAddPageRoute()
  3. 11.x core/tests/Drupal/Tests/Core/Entity/Routing/DefaultHtmlRouteProviderTest.php \Drupal\Tests\Core\Entity\Routing\TestDefaultHtmlRouteProvider::getAddPageRoute()

Overrides DefaultHtmlRouteProvider::getAddPageRoute

File

core/tests/Drupal/Tests/Core/Entity/Routing/DefaultHtmlRouteProviderTest.php, line 407

Class

TestDefaultHtmlRouteProvider

Namespace

Drupal\Tests\Core\Entity\Routing

Code

public function getAddPageRoute(EntityTypeInterface $entity_type) {
    return parent::getAddPageRoute($entity_type);
}

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