public function ExtlinkExternalFileNoFollowTest::setUp in External Links 8
Overrides ExtlinkTestBase::setUp
File
- tests/
src/ FunctionalJavascript/ ExtlinkExternalFileNoFollowTest.php, line 15
Class
- ExtlinkExternalFileNoFollowTest
- Testing the rel nofollow/follow functionality when external file enabled.
Namespace
Drupal\Tests\extlink\FunctionalJavascriptCode
public function setUp() {
parent::setUp();
// Enable the use of the external JS file.
$config = $this->container
->get('config.factory')
->getEditable('extlink.settings');
$config
->set('extlink_use_external_js_file', TRUE)
->save();
}