function CreateTestContentEntitiesTrait::getRequiredModules

Same name in other branches
  1. 9 core/modules/migrate_drupal/tests/src/Traits/CreateTestContentEntitiesTrait.php \Drupal\Tests\migrate_drupal\Traits\CreateTestContentEntitiesTrait::getRequiredModules()
  2. 8.9.x core/modules/migrate_drupal/tests/src/Traits/CreateTestContentEntitiesTrait.php \Drupal\Tests\migrate_drupal\Traits\CreateTestContentEntitiesTrait::getRequiredModules()
  3. 11.x 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\Traits

Code

protected function getRequiredModules() {
    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.