function _paragraphs_table_1_row in Paragraphs table 8
Get table row.
1 call to _paragraphs_table_1_row()
File
- ./
paragraphs_table.module, line 191 - Contains paragraphs_table.module.
Code
function _paragraphs_table_1_row($fields, $rows_data, $show_all = FALSE) {
$rows['#type'] = 'table';
foreach ($fields as $field_name => $field) {
$field_form = $rows_data[$field_name];
_paragraphs_table_hidden_label($field_form['widget']);
$rows[0][$field_name] = $field_form;
}
return $rows;
}