function TestLocalTaskDefault::setRouteProvider

Same name in other branches
  1. 9 core/tests/Drupal/Tests/Core/Menu/LocalTaskDefaultTest.php \Drupal\Tests\Core\Menu\TestLocalTaskDefault::setRouteProvider()
  2. 8.9.x core/tests/Drupal/Tests/Core/Menu/LocalTaskDefaultTest.php \Drupal\Tests\Core\Menu\TestLocalTaskDefault::setRouteProvider()
  3. 11.x 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

Class

TestLocalTaskDefault

Namespace

Drupal\Tests\Core\Menu

Code

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

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