function matrix_theme in Matrix field 8.2
Same name and namespace in other branches
- 6.2 matrix.module \matrix_theme()
- 6 matrix.module \matrix_theme()
- 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;
}