Default view template to display a rows in a grid.

  • $title: The title of this group of rows. May be empty.
  • $classes: An array of classes to apply to the grid, based on settings.
  • $attributes: An array of additional HTML attributes for the grid.
  • $caption: The caption for this grid. May be empty.
  • $rows: A nested array of rows. Each row contains an array of columns.
  • $row_classes: An array of classes to apply to each row, indexed by row number. This matches the index in $rows.
  • $column_classes: An array of classes to apply to each column, indexed by row number, then column number. This matches the index in $rows.

File

modules/views/templates/views-view-grid.tpl.php

Related topics