EditorPrivateFileReferenceFilterTest::$modules

Same name and namespace in other branches
  1. 9 core/modules/editor/tests/src/Functional/EditorPrivateFileReferenceFilterTest.php \Drupal\Tests\editor\Functional\EditorPrivateFileReferenceFilterTest::modules
  2. 10 core/modules/editor/tests/src/Functional/EditorPrivateFileReferenceFilterTest.php \Drupal\Tests\editor\Functional\EditorPrivateFileReferenceFilterTest::modules
  3. 11.x core/modules/editor/tests/src/Functional/EditorPrivateFileReferenceFilterTest.php \Drupal\Tests\editor\Functional\EditorPrivateFileReferenceFilterTest::modules

Modules to enable.

Type: array

Overrides BrowserTestBase::$modules

File

core/modules/editor/tests/src/Functional/EditorPrivateFileReferenceFilterTest.php, line 23

Class

EditorPrivateFileReferenceFilterTest
Tests Editor module's file reference filter with private files.

Namespace

Drupal\Tests\editor\Functional

Code

public static $modules = [
    // Needed for the config: this is the only module in core that utilizes the
    // functionality in editor.module to be tested, and depends on that.
'ckeditor',
    // Depends on filter.module (indirectly).
'node',
    // Pulls in the config we're using during testing which create a text format
    // - with the filter_html_image_secure filter DISABLED,
    // - with the editor set to CKEditor,
    // - with drupalimage.image_upload.scheme set to 'private',
    // - with drupalimage.image_upload.directory set to ''.
'editor_private_test',
];

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.