You are here

public function FieldEventVariables::getItems in Hook Event Dispatcher 3.x

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

Get the items array by reference.

Return value

array Items array reference.

File

modules/preprocess_event_dispatcher/src/Variables/FieldEventVariables.php, line 26

Class

FieldEventVariables
Class FieldEventVariables.

Namespace

Drupal\preprocess_event_dispatcher\Variables

Code

public function &getItems() : array {
  return $this->variables['items'];
}