function DatabaseSchema::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.

File

includes/database/schema.inc, line 450

Class

DatabaseSchema
Base class for database schema definitions.

Code

abstract public function getFieldTypeMap();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.