ModerationStateTestBase::$modules

Same name in other branches
  1. 8.9.x core/modules/content_moderation/tests/src/Functional/ModerationStateTestBase.php \Drupal\Tests\content_moderation\Functional\ModerationStateTestBase::modules
  2. 10 core/modules/content_moderation/tests/src/Functional/ModerationStateTestBase.php \Drupal\Tests\content_moderation\Functional\ModerationStateTestBase::modules
  3. 11.x core/modules/content_moderation/tests/src/Functional/ModerationStateTestBase.php \Drupal\Tests\content_moderation\Functional\ModerationStateTestBase::modules

Modules to enable.

Type: array

Overrides BrowserTestBase::$modules

File

core/modules/content_moderation/tests/src/Functional/ModerationStateTestBase.php, line 64

Class

ModerationStateTestBase
Defines a base class for moderation state tests.

Namespace

Drupal\Tests\content_moderation\Functional

Code

protected static $modules = [
    'content_moderation',
    'block',
    'block_content',
    'node',
    'entity_test',
];

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