function LocalActionDefaultTest::setupLocalActionDefault
Same name in other branches
- 9 core/tests/Drupal/Tests/Core/Menu/LocalActionDefaultTest.php \Drupal\Tests\Core\Menu\LocalActionDefaultTest::setupLocalActionDefault()
- 8.9.x core/tests/Drupal/Tests/Core/Menu/LocalActionDefaultTest.php \Drupal\Tests\Core\Menu\LocalActionDefaultTest::setupLocalActionDefault()
- 10 core/tests/Drupal/Tests/Core/Menu/LocalActionDefaultTest.php \Drupal\Tests\Core\Menu\LocalActionDefaultTest::setupLocalActionDefault()
Setups the local action default.
3 calls to LocalActionDefaultTest::setupLocalActionDefault()
- LocalActionDefaultTest::testGetTitle in core/
tests/ Drupal/ Tests/ Core/ Menu/ LocalActionDefaultTest.php - Tests the getTitle method without a translation context.
- LocalActionDefaultTest::testGetTitleWithContext in core/
tests/ Drupal/ Tests/ Core/ Menu/ LocalActionDefaultTest.php - Tests the getTitle method with a translation context.
- LocalActionDefaultTest::testGetTitleWithTitleArguments in core/
tests/ Drupal/ Tests/ Core/ Menu/ LocalActionDefaultTest.php - Tests the getTitle method with title arguments.
File
-
core/
tests/ Drupal/ Tests/ Core/ Menu/ LocalActionDefaultTest.php, line 75
Class
- LocalActionDefaultTest
- @coversDefaultClass \Drupal\Core\Menu\LocalActionDefault @group Menu
Namespace
Drupal\Tests\Core\MenuCode
protected function setupLocalActionDefault() : void {
$this->localActionDefault = new LocalActionDefault($this->config, $this->pluginId, $this->pluginDefinition, $this->routeProvider);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.