You are here

protected static property MetatagFieldNodeTest::$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 MetatagFieldTestBase::$modules

See also

\Drupal\Tests\BrowserTestBase::installDrupal()

File

tests/src/Functional/MetatagFieldNodeTest.php, line 15

Class

MetatagFieldNodeTest
Ensures that the Metatag field works correctly on nodes.

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