You are here

protected function ContextualLinkDefaultTest::setupContextualLinkDefault in Drupal 8

Same name and namespace in other branches
  1. 9 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 59

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);
}