ExtlinkExternalFileNoFollowTest.php in External Links 8
File
tests/src/FunctionalJavascript/ExtlinkExternalFileNoFollowTest.phpView source
<?php
namespace Drupal\Tests\extlink\FunctionalJavascript;
/**
* Testing the rel nofollow/follow functionality when external file enabled.
*
* @group Extlink
*/
class ExtlinkExternalFileNoFollowTest extends ExtlinkTestNoFollow {
/**
* {@inheritdoc}
*/
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();
}
}
Classes
Name | Description |
---|---|
ExtlinkExternalFileNoFollowTest | Testing the rel nofollow/follow functionality when external file enabled. |