You are here

ExtlinkExternalFileNoFollowTest.php in External Links 8

File

tests/src/FunctionalJavascript/ExtlinkExternalFileNoFollowTest.php
View 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

Namesort descending Description
ExtlinkExternalFileNoFollowTest Testing the rel nofollow/follow functionality when external file enabled.