protected function LocalActionDefaultTest::setupLocalActionDefault in Drupal 10
Same name and namespace in other branches
- 8 core/tests/Drupal/Tests/Core/Menu/LocalActionDefaultTest.php \Drupal\Tests\Core\Menu\LocalActionDefaultTest::setupLocalActionDefault()
- 9 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 70
Class
- LocalActionDefaultTest
- @coversDefaultClass \Drupal\Core\Menu\LocalActionDefault @group Menu
Namespace
Drupal\Tests\Core\MenuCode
protected function setupLocalActionDefault() {
$this->localActionDefault = new LocalActionDefault($this->config, $this->pluginId, $this->pluginDefinition, $this->routeProvider);
}