function CreateTestContentEntitiesTrait::getRequiredModules

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

Class

CreateTestContentEntitiesTrait
Provides helper methods for creating test content.

Namespace

Drupal\Tests\migrate_drupal\Traits

Code

protected function getRequiredModules() {
    return [
        // @todo Remove aggregator in https://www.drupal.org/project/drupal/issues/3264120
'aggregator',
        '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.