function 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 78
Class
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.