public function DatabaseSchemaInterface::getFieldTypeMap in Schema 8
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.
File
- src/
DatabaseSchemaInterface.php, line 60 - Contains Drupal\schema\DatabaseSchemaInterface.
Class
- DatabaseSchemaInterface
- This interface describes public methods of \Drupal\Core\Database\Schema.
Namespace
Drupal\schemaCode
public function getFieldTypeMap();