function countries_field_schema in Countries 8
Same name and namespace in other branches
- 7.2 countries.install \countries_field_schema()
- 7 countries.module \countries_field_schema()
Implements hook_field_schema().
File
- ./
countries.install, line 89 - Install file for Countries module.
Code
function countries_field_schema($field) {
return array(
'columns' => array(
'iso2' => array(
'type' => 'varchar',
'length' => 2,
'not null' => FALSE,
),
),
'indexes' => array(
'iso2' => array(
'iso2',
),
),
);
}