Schema::getFieldTypeMap

abstract public Schema::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

core/lib/Drupal/Core/Database/Schema.php, line 266

Class

Schema
Provides a base implementation for Database Schema.

Namespace

Drupal\Core\Database

Code

abstract public function getFieldTypeMap();
doc_Drupal
2016-10-29 09:39:57
Comments
Leave a Comment

Please login to continue.