protected static property SchemaMetatagTagsTestBase::$modules in Schema.org Metatag 8
Same name and namespace in other branches
- 8.2 tests/src/Functional/SchemaMetatagTagsTestBase.php \Drupal\Tests\schema_metatag\Functional\SchemaMetatagTagsTestBase::modules
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/ SchemaMetatagTagsTestBase.php, line 20
Class
- SchemaMetatagTagsTestBase
- Base class to test all of the meta tags that are in a specific module.
Namespace
Drupal\Tests\schema_metatag\FunctionalCode
protected static $modules = [
// This is needed for the 'access content' permission.
'node',
// Dependencies.
'token',
'metatag',
// This module.
'schema_metatag',
];