You are here

function matrix_theme in Matrix field 8.2

Same name and namespace in other branches
  1. 6.2 matrix.module \matrix_theme()
  2. 6 matrix.module \matrix_theme()
  3. 7.2 matrix.module \matrix_theme()

Implementation of hook_theme()

File

./matrix.module, line 31
Contains matrix.module.

Code

function matrix_theme() {
  $theme['matrix_preview'] = array(
    'render element' => 'form',
  );
  $theme['matrix_table'] = array(
    'render element' => 'form',
  );
  $theme['matrix_output'] = array(
    'variables' => array(
      'header' => NULL,
      'rows' => NULL,
    ),
  );
  return $theme;
}