FormEventVariables.php in Hook Event Dispatcher 3.x
Same filename and directory in other branches
File
modules/preprocess_event_dispatcher/src/Variables/FormEventVariables.phpView 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
Name | Description |
---|---|
FormEventVariables | Class FormEventVariables. |