public static property ExampleFixtureManagementTest::$modules in Examples for Developers 8
Same name and namespace in other branches
- 3.x modules/testing_example/tests/src/Kernel/ExampleFixtureManagementTest.php \Drupal\Tests\testing_example\Kernel\ExampleFixtureManagementTest::modules
Any modules added here will be loaded, along with anything in $modules in parent classes.
These modules are not installed, but their services and hooks are available.
Type: string[]
Overrides KernelTestBase::$modules
File
- testing_example/
tests/ src/ Kernel/ ExampleFixtureManagementTest.php, line 41
Class
- ExampleFixtureManagementTest
- Demonstrate manipulating fixture data in a kernel test.
Namespace
Drupal\Tests\testing_example\KernelCode
public static $modules = [
'user',
'system',
'field',
'node',
'text',
'filter',
];