function LocalTaskDefaultTest::setupLocalTaskDefault
Same name and namespace in other branches
- 10 core/tests/Drupal/Tests/Core/Menu/LocalTaskDefaultTest.php \Drupal\Tests\Core\Menu\LocalTaskDefaultTest::setupLocalTaskDefault()
- 9 core/tests/Drupal/Tests/Core/Menu/LocalTaskDefaultTest.php \Drupal\Tests\Core\Menu\LocalTaskDefaultTest::setupLocalTaskDefault()
- 8.9.x core/tests/Drupal/Tests/Core/Menu/LocalTaskDefaultTest.php \Drupal\Tests\Core\Menu\LocalTaskDefaultTest::setupLocalTaskDefault()
Setups the local task default.
12 calls to LocalTaskDefaultTest::setupLocalTaskDefault()
- LocalTaskDefaultTest::testActive in core/
tests/ Drupal/ Tests/ Core/ Menu/ LocalTaskDefaultTest.php - Tests active.
- LocalTaskDefaultTest::testCacheabilityMetadata in core/
tests/ Drupal/ Tests/ Core/ Menu/ LocalTaskDefaultTest.php - Tests cacheability metadata.
- LocalTaskDefaultTest::testGetOptions in core/
tests/ Drupal/ Tests/ Core/ Menu/ LocalTaskDefaultTest.php - Tests get options.
- LocalTaskDefaultTest::testGetRouteParametersForDynamicRouteWithNonUpcastedParameters in core/
tests/ Drupal/ Tests/ Core/ Menu/ LocalTaskDefaultTest.php - Tests get route parameters for dynamic route with non upcasted parameters.
- LocalTaskDefaultTest::testGetRouteParametersForDynamicRouteWithUpcastedParameters in core/
tests/ Drupal/ Tests/ Core/ Menu/ LocalTaskDefaultTest.php - Tests the getRouteParameters method for a route with upcasted parameters.
File
-
core/
tests/ Drupal/ Tests/ Core/ Menu/ LocalTaskDefaultTest.php, line 81
Class
Namespace
Drupal\Tests\Core\MenuCode
protected function setupLocalTaskDefault() : void {
$this->localTaskBase = new TestLocalTaskDefault($this->config, $this->pluginId, $this->pluginDefinition);
$this->localTaskBase
->setRouteProvider($this->routeProvider);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.