function _views_bootstrap_preprocess_views_style_plugin_prepare_grid_vertical in Views Bootstrap 7.3
Further preprocessing for vertical alignment.
See also
_views_bootstrap_preprocess_views_style_plugin_prepare_grid()
1 call to _views_bootstrap_preprocess_views_style_plugin_prepare_grid_vertical()
- _views_bootstrap_preprocess_views_style_plugin_prepare_grid in ./
views_bootstrap.module - View preprocessing that prepares the results as a Bootstrap grid.
File
- ./
views_bootstrap.module, line 168 - Bootstrap integration.
Code
function _views_bootstrap_preprocess_views_style_plugin_prepare_grid_vertical(&$vars) {
$options = $vars['view']->style_plugin->options;
// Distribute items in rows and columns.
$vars['items'] = _views_bootstrap_split_rows_vertical($vars['rows'], $options['columns_vertical']);
}