function CreateTestContentEntitiesTrait::getRequiredModules
Same name in other branches
- 9 core/modules/migrate_drupal/tests/src/Traits/CreateTestContentEntitiesTrait.php \Drupal\Tests\migrate_drupal\Traits\CreateTestContentEntitiesTrait::getRequiredModules()
- 8.9.x core/modules/migrate_drupal/tests/src/Traits/CreateTestContentEntitiesTrait.php \Drupal\Tests\migrate_drupal\Traits\CreateTestContentEntitiesTrait::getRequiredModules()
- 10 core/modules/migrate_drupal/tests/src/Traits/CreateTestContentEntitiesTrait.php \Drupal\Tests\migrate_drupal\Traits\CreateTestContentEntitiesTrait::getRequiredModules()
Gets required modules.
Return value
array
File
-
core/
modules/ migrate_drupal/ tests/ src/ Traits/ CreateTestContentEntitiesTrait.php, line 17
Class
- CreateTestContentEntitiesTrait
- Provides helper methods for creating test content.
Namespace
Drupal\Tests\migrate_drupal\TraitsCode
protected function getRequiredModules() : array {
return [
'block_content',
'comment',
'field',
'file',
'link',
'menu_link_content',
'migrate_drupal',
'node',
'options',
'system',
'taxonomy',
'text',
'user',
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.