protected function CommentLinksAlterTest::setUp in Drupal 8
Same name and namespace in other branches
- 9 core/modules/comment/tests/src/Functional/CommentLinksAlterTest.php \Drupal\Tests\comment\Functional\CommentLinksAlterTest::setUp()
- 10 core/modules/comment/tests/src/Functional/CommentLinksAlterTest.php \Drupal\Tests\comment\Functional\CommentLinksAlterTest::setUp()
Overrides CommentTestBase::setUp
File
- core/
modules/ comment/ tests/ src/ Functional/ CommentLinksAlterTest.php, line 19
Class
- CommentLinksAlterTest
- Tests comment links altering.
Namespace
Drupal\Tests\comment\FunctionalCode
protected function setUp() {
parent::setUp();
// Enable comment_test.module's hook_comment_links_alter() implementation.
$this->container
->get('state')
->set('comment_test_links_alter_enabled', TRUE);
}