You are here

FormEventVariables.php in Hook Event Dispatcher 3.x

File

modules/preprocess_event_dispatcher/src/Variables/FormEventVariables.php
View source
<?php

namespace Drupal\preprocess_event_dispatcher\Variables;


/**
 * Class FormEventVariables.
 */
class FormEventVariables extends AbstractEventVariables {

  /**
   * Get the element array by reference.
   *
   * @return array
   *   Element array reference.
   */
  public function &getElement() : array {
    return $this->variables['element'];
  }

}

Classes

Namesort descending Description
FormEventVariables Class FormEventVariables.