function ContextualLinkDefaultTest::setupContextualLinkDefault

Same name in other branches
  1. 9 core/tests/Drupal/Tests/Core/Menu/ContextualLinkDefaultTest.php \Drupal\Tests\Core\Menu\ContextualLinkDefaultTest::setupContextualLinkDefault()
  2. 8.9.x core/tests/Drupal/Tests/Core/Menu/ContextualLinkDefaultTest.php \Drupal\Tests\Core\Menu\ContextualLinkDefaultTest::setupContextualLinkDefault()
  3. 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

... See full list

File

core/tests/Drupal/Tests/Core/Menu/ContextualLinkDefaultTest.php, line 64

Class

ContextualLinkDefaultTest
@group Menu @coversDefaultClass \Drupal\Core\Menu\ContextualLinkDefault

Namespace

Drupal\Tests\Core\Menu

Code

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.