function matrix_widget_info in Matrix field 6.2
Same name and namespace in other branches
- 5 matrix.module \matrix_widget_info()
- 6 matrix.module \matrix_widget_info()
Implementation of hook_widget_info().
File
- ./
matrix.module, line 369 - Defines simple matrix field types.
Code
function matrix_widget_info() {
return array(
'matrix' => array(
'label' => t('Form elements in a matrix form'),
'field types' => array(
'matrix',
),
'multiple values' => CONTENT_HANDLE_CORE,
),
'table' => array(
'label' => t('Table with headers and multiple rows'),
'field types' => array(
'matrix',
),
'multiple values' => CONTENT_HANDLE_CORE,
),
);
}