function ContextualLinkDefaultTest::setupContextualLinkDefault
Same name in other branches
- 8.9.x core/tests/Drupal/Tests/Core/Menu/ContextualLinkDefaultTest.php \Drupal\Tests\Core\Menu\ContextualLinkDefaultTest::setupContextualLinkDefault()
- 10 core/tests/Drupal/Tests/Core/Menu/ContextualLinkDefaultTest.php \Drupal\Tests\Core\Menu\ContextualLinkDefaultTest::setupContextualLinkDefault()
- 11.x core/tests/Drupal/Tests/Core/Menu/ContextualLinkDefaultTest.php \Drupal\Tests\Core\Menu\ContextualLinkDefaultTest::setupContextualLinkDefault()
7 calls to ContextualLinkDefaultTest::setupContextualLinkDefault()
- ContextualLinkDefaultTest::testGetGroup in core/
tests/ Drupal/ Tests/ Core/ Menu/ ContextualLinkDefaultTest.php - @covers ::getGroup
- ContextualLinkDefaultTest::testGetOptions in core/
tests/ Drupal/ Tests/ Core/ Menu/ ContextualLinkDefaultTest.php - @covers ::getOptions
- ContextualLinkDefaultTest::testGetRouteName in core/
tests/ Drupal/ Tests/ Core/ Menu/ ContextualLinkDefaultTest.php - @covers ::getRouteName
- ContextualLinkDefaultTest::testGetTitle in core/
tests/ Drupal/ Tests/ Core/ Menu/ ContextualLinkDefaultTest.php - @covers ::getTitle
- ContextualLinkDefaultTest::testGetTitleWithContext in core/
tests/ Drupal/ Tests/ Core/ Menu/ ContextualLinkDefaultTest.php - @covers ::getTitle
File
-
core/
tests/ Drupal/ Tests/ Core/ Menu/ ContextualLinkDefaultTest.php, line 62
Class
- ContextualLinkDefaultTest
- @group Menu @coversDefaultClass \Drupal\Core\Menu\ContextualLinkDefault
Namespace
Drupal\Tests\Core\MenuCode
protected function setupContextualLinkDefault() {
$this->contextualLinkDefault = new ContextualLinkDefault($this->config, $this->pluginId, $this->pluginDefinition);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.