abstract public function 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();

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Database!Schema.php/function/Schema::getFieldTypeMap/8.1.x