You are here

protected static property MetatagFieldTestBase::$modules in Metatag 8

Modules to enable.

The test runner will merge the $modules lists from this class, the class it extends, and so on up the class hierarchy. It is not necessary to include modules in your list that a parent class has already declared.

Type: string[]

Overrides BrowserTestBase::$modules

See also

\Drupal\Tests\BrowserTestBase::installDrupal()

File

tests/src/Functional/MetatagFieldTestBase.php, line 26

Class

MetatagFieldTestBase
Base class for ensuring that the Metatag field works correctly.

Namespace

Drupal\Tests\metatag\Functional

Code

protected static $modules = [
  // Needed for token handling.
  'token',
  // Needed for the field UI testing.
  'field_ui',
  // Needed to verify that nothing is broken for unsupported entities.
  'contact',
  // The base module.
  'metatag',
  // Some extra custom logic for testing Metatag.
  'metatag_test_tag',
  // Manages the entity type that is being tested.
  'entity_test',
];