function views_merge_rows_unset_row in Views Merge Rows 8
Unsets the given row from the current display.
Parameters
object $view: View object.
int $row_index: Supplied row index value.
1 call to views_merge_rows_unset_row()
- views_merge_rows_views_pre_render in ./
views_merge_rows.module - Implements hook_views_pre_render().
File
- ./
views_merge_rows.module, line 311 - Registers View API information
Code
function views_merge_rows_unset_row(ViewExecutable $view, $row_index) {
unset($view->result[$row_index]);
--$view->total_rows;
}