function FieldDiscoveryTestClass::getAllFields
Same name in other branches
- 9 core/modules/migrate_drupal/tests/modules/field_discovery_test/src/FieldDiscoveryTestClass.php \Drupal\field_discovery_test\FieldDiscoveryTestClass::getAllFields()
- 8.9.x core/modules/migrate_drupal/tests/modules/field_discovery_test/src/FieldDiscoveryTestClass.php \Drupal\field_discovery_test\FieldDiscoveryTestClass::getAllFields()
- 11.x core/modules/migrate_drupal/tests/modules/field_discovery_test/src/FieldDiscoveryTestClass.php \Drupal\field_discovery_test\FieldDiscoveryTestClass::getAllFields()
Overrides FieldDiscovery::getAllFields
File
-
core/
modules/ migrate_drupal/ tests/ modules/ field_discovery_test/ src/ FieldDiscoveryTestClass.php, line 44
Class
- FieldDiscoveryTestClass
- A test class to expose protected methods.
Namespace
Drupal\field_discovery_testCode
public function getAllFields($core) {
if (!empty($this->testData['getAllFields'][$core])) {
return $this->testData['getAllFields'][$core];
}
return parent::getAllFields($core);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.