You are here

protected function CreateTestContentEntitiesTrait::installEntitySchemas in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/migrate_drupal/tests/src/Traits/CreateTestContentEntitiesTrait.php \Drupal\Tests\migrate_drupal\Traits\CreateTestContentEntitiesTrait::installEntitySchemas()
  2. 10 core/modules/migrate_drupal/tests/src/Traits/CreateTestContentEntitiesTrait.php \Drupal\Tests\migrate_drupal\Traits\CreateTestContentEntitiesTrait::installEntitySchemas()

Install required entity schemas.

2 calls to CreateTestContentEntitiesTrait::installEntitySchemas()
MigrateDrupal6AuditIdsTest::setUp in core/modules/migrate_drupal/tests/src/Kernel/d6/MigrateDrupal6AuditIdsTest.php
MigrateDrupal7AuditIdsTest::setUp in core/modules/migrate_drupal/tests/src/Kernel/d7/MigrateDrupal7AuditIdsTest.php

File

core/modules/migrate_drupal/tests/src/Traits/CreateTestContentEntitiesTrait.php, line 37

Class

CreateTestContentEntitiesTrait
Provides helper methods for creating test content.

Namespace

Drupal\Tests\migrate_drupal\Traits

Code

protected function installEntitySchemas() {
  $this
    ->installEntitySchema('aggregator_feed');
  $this
    ->installEntitySchema('aggregator_item');
  $this
    ->installEntitySchema('block_content');
  $this
    ->installEntitySchema('comment');
  $this
    ->installEntitySchema('file');
  $this
    ->installEntitySchema('menu_link_content');
  $this
    ->installEntitySchema('node');
  $this
    ->installEntitySchema('path_alias');
  $this
    ->installEntitySchema('taxonomy_term');
  $this
    ->installEntitySchema('user');
}