You are here

public function ViewEventVariables::getRows in Hook Event Dispatcher 8

Get the rows.

Return value

array Rows.

File

src/Event/Preprocess/Variables/ViewEventVariables.php, line 16

Class

ViewEventVariables
Class ViewEventVariables.

Namespace

Drupal\hook_event_dispatcher\Event\Preprocess\Variables

Code

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