protected function HtmlTest::setUp in Drupal 10
Same name and namespace in other branches
- 8 core/tests/Drupal/Tests/Component/Utility/HtmlTest.php \Drupal\Tests\Component\Utility\HtmlTest::setUp()
- 9 core/tests/Drupal/Tests/Component/Utility/HtmlTest.php \Drupal\Tests\Component\Utility\HtmlTest::setUp()
File
- core/
tests/ Drupal/ Tests/ Component/ Utility/ HtmlTest.php, line 23
Class
Namespace
Drupal\Tests\Component\UtilityCode
protected function setUp() : void {
parent::setUp();
$property = new \ReflectionProperty('Drupal\\Component\\Utility\\Html', 'seenIdsInit');
$property
->setAccessible(TRUE);
$property
->setValue(NULL);
}