You are here

function matrix_widget_info in Matrix field 6

Same name and namespace in other branches
  1. 5 matrix.module \matrix_widget_info()
  2. 6.2 matrix.module \matrix_widget_info()

Implementation of hook_widget_info().

File

./matrix.module, line 121
Defines simple matrix field types.

Code

function matrix_widget_info() {
  return array(
    'matrix' => array(
      'label' => 'Text fields in a matrix form',
      'field types' => array(
        'matrix',
      ),
      'multiple values' => CONTENT_HANDLE_CORE,
    ),
  );
}