function TestLocalTaskDefault::setRouteProvider

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

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.