You are here

public function ViewEventVariables::getRows in Hook Event Dispatcher 3.x

Same name and namespace in other branches
  1. 8.2 modules/preprocess_event_dispatcher/src/Variables/ViewEventVariables.php \Drupal\preprocess_event_dispatcher\Variables\ViewEventVariables::getRows()

Get the rows.

Return value

array Rows.

File

modules/preprocess_event_dispatcher/src/Variables/ViewEventVariables.php, line 18

Class

ViewEventVariables
Class ViewEventVariables.

Namespace

Drupal\preprocess_event_dispatcher\Variables

Code

public function &getRows() : array {
  return $this->variables['rows'][0]['#rows'];
}