function mathfield_field_widget_info in Math Field 7
Implements hook_field_widget_info().
File
- ./
mathfield.module, line 130 - Adds a dynamic math expression field.
Code
function mathfield_field_widget_info() {
return array(
'mathfield_text' => array(
'label' => t('Text field'),
'field types' => array(
'mathfield',
),
),
'mathfield_markup' => array(
'label' => t('Read-only'),
'field types' => array(
'mathfield',
),
),
);
}