function StubSchema::getFieldTypeMap
Returns a mapping of Drupal schema field names to DB-native field types.
Because different field types do not map 1:1 between databases, Drupal has its own normalized field type names. This function returns a driver-specific mapping table from Drupal names to the native names for each database.
Return value
array An array of Schema API field types to driver-specific field types.
Overrides Schema::getFieldTypeMap
File
-
core/
tests/ Drupal/ Tests/ Core/ Database/ Stub/ StubSchema.php, line 19
Class
- StubSchema
- A stub of the abstract Schema class for testing purposes.
Namespace
Drupal\Tests\Core\Database\StubCode
public function getFieldTypeMap() {
return [];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.