You are here

public function TestLocalTaskDefault::setRouteProvider in Drupal 9

Same name and namespace in other branches
  1. 8 core/tests/Drupal/Tests/Core/Menu/LocalTaskDefaultTest.php \Drupal\Tests\Core\Menu\TestLocalTaskDefault::setRouteProvider()

File

core/tests/Drupal/Tests/Core/Menu/LocalTaskDefaultTest.php, line 343
Contains \Drupal\Tests\Core\Menu\LocalTaskDefaultTest.

Class

TestLocalTaskDefault

Namespace

Drupal\Tests\Core\Menu

Code

public function setRouteProvider(RouteProviderInterface $route_provider) {
  $this->routeProvider = $route_provider;
  return $this;
}