protected function LocalActionDefaultTest::setupLocalActionDefault in Zircon Profile 8
Same name and namespace in other branches
- 8.0 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 - Contains \Drupal\Tests\Core\Menu\LocalActionDefaultTest.
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);
}