You are here

public function ErlPropertiesFormEvent::__construct in Entity Reference with Layout 8

Constructs the object.

Parameters

array $form: The form array being built.

array $form_defaults: Default values to populate form.

File

src/Event/ErlPropertiesFormEvent.php, line 25

Class

ErlPropertiesFormEvent
Event that is fired when a layout options form is built.

Namespace

Drupal\entity_reference_layout\Event

Code

public function __construct(array &$form, array $form_defaults) {
  $this->form =& $form;
  $this->formDefaults = $form_defaults;
}