function isbn_field_info in ISBN Field 7
Same name and namespace in other branches
- 6 isbn.module \isbn_field_info()
Implements hook_field_info().
File
- ./
isbn.module, line 11 - Maintains a consistant relationship between nodes and ISBNs.
Code
function isbn_field_info() {
return array(
'isbn' => array(
'label' => 'ISBN',
'description' => t('This field stores and renders ISBN numbers.'),
'default_widget' => 'isbn_textfield',
'default_formatter' => 'isbn_default',
'property_type' => 'text',
),
);
}