function EntityLinkTest::setUp
Same name in this branch
- 11.x core/tests/Drupal/Tests/Core/Entity/EntityLinkTest.php \Drupal\Tests\Core\Entity\EntityLinkTest::setUp()
Same name and namespace in other branches
- 9 core/tests/Drupal/Tests/Core/Entity/EntityLinkTest.php \Drupal\Tests\Core\Entity\EntityLinkTest::setUp()
- 8.9.x core/tests/Drupal/Tests/Core/Entity/EntityLinkTest.php \Drupal\Tests\Core\Entity\EntityLinkTest::setUp()
- 10 core/modules/comment/tests/src/Unit/Plugin/views/field/EntityLinkTest.php \Drupal\Tests\comment\Unit\Plugin\views\field\EntityLinkTest::setUp()
- 10 core/tests/Drupal/Tests/Core/Entity/EntityLinkTest.php \Drupal\Tests\Core\Entity\EntityLinkTest::setUp()
Overrides UnitTestCase::setUp
File
-
core/
modules/ comment/ tests/ src/ Unit/ Plugin/ views/ field/ EntityLinkTest.php, line 25
Class
- EntityLinkTest
- @coversDefaultClass <a href="/api/drupal/core%21modules%21comment%21src%21Plugin%21views%21field%21EntityLink.php/class/EntityLink/11.x" title="Handler for showing comment module's entity links." class="local">\Drupal\comment\Plugin\views\field\EntityLink</a> @group comment
Namespace
Drupal\Tests\comment\Unit\Plugin\views\fieldCode
protected function setUp() : void {
parent::setUp();
$this->setUpMockLoggerWithMissingEntity();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.