public function TestLocalTaskDefault::setRouteProvider in Drupal 10
Same name and namespace in other branches
- 8 core/tests/Drupal/Tests/Core/Menu/LocalTaskDefaultTest.php \Drupal\Tests\Core\Menu\TestLocalTaskDefault::setRouteProvider()
- 9 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
Namespace
Drupal\Tests\Core\MenuCode
public function setRouteProvider(RouteProviderInterface $route_provider) {
$this->routeProvider = $route_provider;
return $this;
}