You are here

public function FieldDiscoveryTestClass::getFieldInstanceStubMigrationDefinition in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/migrate_drupal/tests/modules/field_discovery_test/src/FieldDiscoveryTestClass.php \Drupal\field_discovery_test\FieldDiscoveryTestClass::getFieldInstanceStubMigrationDefinition()
  2. 10 core/modules/migrate_drupal/tests/modules/field_discovery_test/src/FieldDiscoveryTestClass.php \Drupal\field_discovery_test\FieldDiscoveryTestClass::getFieldInstanceStubMigrationDefinition()

Provides the stub migration definition for a given Drupal core version.

Parameters

string $core: The Drupal core version.

Return value

array The stub migration definition.

Overrides FieldDiscovery::getFieldInstanceStubMigrationDefinition

File

core/modules/migrate_drupal/tests/modules/field_discovery_test/src/FieldDiscoveryTestClass.php, line 68

Class

FieldDiscoveryTestClass
A test class to expose protected methods.

Namespace

Drupal\field_discovery_test

Code

public function getFieldInstanceStubMigrationDefinition($core) {
  return parent::getFieldInstanceStubMigrationDefinition($core);
}