You are here

protected static property EditorPrivateFileReferenceFilterTest::$modules in Drupal 9

Same name and namespace in other branches
  1. 8 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

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

protected 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',
];