You are here

function matrix_elements in Matrix field 6

Same name and namespace in other branches
  1. 6.2 matrix.module \matrix_elements()

Implementation of hook_elements().

File

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

Code

function matrix_elements() {
  $elements['matrix'] = array(
    '#input' => TRUE,
    '#columns' => array(
      'data',
    ),
    '#process' => array(
      'matrix_process',
    ),
  );
  return $elements;
}