function signaturefield_field_info in SignatureField 7
Same name and namespace in other branches
- 6 modules/content.inc \signaturefield_field_info()
- 7.2 includes/field.inc \signaturefield_field_info()
Implements hook_field_info().
Provides the description of the field.
File
- includes/
field.inc, line 12 - Content module integration.
Code
function signaturefield_field_info() {
return array(
// The machine name of the field,
// no more than 32 characters.
'signaturefield' => array(
// The human-readable label of the field that will be
// seen in the Manage fields screen.
'label' => t('Signature field'),
// A description of what type of data the field stores.
'description' => t('Store a signature in the database.'),
'default_widget' => 'signaturefield_default',
'default_formatter' => 'signaturefield_formatter',
),
);
}