Skip to content

Commit

Permalink
Split up arrays over multiple lines
Browse files Browse the repository at this point in the history
  • Loading branch information
kiamlaluno committed Dec 16, 2023
1 parent 7b92c3a commit cd55d90
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion core/modules/image/image.theme.inc
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,9 @@ function theme_image_style_list($variables) {

$empty = t('There are currently no styles. <a href="!url">Add a new one</a>.', array('!url' => url('admin/config/media/image-styles/add')));

return theme('table', array('header' => $header, 'rows' => $rows, 'empty' => $empty));
return theme('table', array('header' => $header,
'rows' => $rows, 'empty' => $empty
));
}

/**
Expand Down
4 changes: 3 additions & 1 deletion core/modules/views_ui/views_ui.theme.inc
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,9 @@ function theme_views_ui_rearrange_filter_form(&$variables) {
// Set up tabledrag so that the weights are changed when rows are dragged.
backdrop_add_tabledrag('views-rearrange-filters', 'order', 'sibling', 'weight');
$output .= theme('table', array('rows' => $rows,
'attributes' => array('id' => 'views-rearrange-filters', 'class' => array('arrange')),
'attributes' => array('id' => 'views-rearrange-filters',
'class' => array('arrange')
),
'empty' => t('No fields available.'),
));
$output .= '</div>';
Expand Down

0 comments on commit cd55d90

Please sign in to comment.