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. 8.9.x core/modules/editor/tests/src/Functional/EditorPrivateFileReferenceFilterTest.php \Drupal\Tests\editor\Functional\EditorPrivateFileReferenceFilterTest::modules
  3. 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 25

Class

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

Namespace

Drupal\Tests\editor\Functional

Code

protected static $modules = [
    'editor_test',
    // 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 Unicorn editor,
    // - 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.