You are here

public function FieldDiscoveryTestClass::getBundleFields in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/migrate_drupal/tests/modules/field_discovery_test/src/FieldDiscoveryTestClass.php \Drupal\field_discovery_test\FieldDiscoveryTestClass::getBundleFields()

Gets all field information for a particular entity type and bundle.

Parameters

string $core: The Drupal core version.

string $entity_type_id: The legacy entity type ID.

string $bundle: The legacy bundle (or content_type).

Return value

array An array of source data from the relevant field instance migration for the bundle, keyed by field name.

Overrides FieldDiscovery::getBundleFields

File

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

Class

FieldDiscoveryTestClass
A test class to expose protected methods.

Namespace

Drupal\field_discovery_test

Code

public function getBundleFields($core, $entity_type_id, $bundle) {
  return parent::getBundleFields($core, $entity_type_id, $bundle);
}