You are here

public property ViewExecutable::$result in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/views/src/ViewExecutable.php \Drupal\views\ViewExecutable::result

Where the results of a query will go.

The array must use a numeric index starting at 0.

Type: \Drupal\views\ResultRow[]

File

core/modules/views/src/ViewExecutable.php, line 82

Class

ViewExecutable
Represents a view as a whole.

Namespace

Drupal\views

Code

public $result = [];