function theme_webform_display_matrix in Webform Matrix Component 6
Same name and namespace in other branches
- 7.4 components/matrix.inc \theme_webform_display_matrix()
- 7 components/matrix.inc \theme_webform_display_matrix()
- 7.2 components/matrix.inc \theme_webform_display_matrix()
- 7.3 components/matrix.inc \theme_webform_display_matrix()
Format the text output for this component.
1 theme call to theme_webform_display_matrix()
- _webform_display_matrix in components/
matrix.inc - Implements _webform_display_component().
File
- components/
matrix.inc, line 671 - Webform module matrix component.
Code
function theme_webform_display_matrix($variables) {
$matrix_value = $variables['element']['#value'];
$output = theme('table', $matrix_value['headers'], $matrix_value['rows']);
return $output;
}