protected static property MetatagFieldTestTest::$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/ MetatagFieldTestTest.php, line 15
Class
- MetatagFieldTestTest
- Ensure that the Metatag field works correctly for the test entity.
Namespace
Drupal\Tests\metatag\FunctionalCode
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',
];