public function ErlMergeAttributesEvent::__construct in Entity Reference with Layout 8
Constructs the object.
Parameters
array $attributes: Attributes array being built.
array $form_values: Form values to merge into attributes.
File
- src/
Event/ ErlMergeAttributesEvent.php, line 25
Class
- ErlMergeAttributesEvent
- Event that is fired when erl attributes are merged into layout_options.
Namespace
Drupal\entity_reference_layout\EventCode
public function __construct(array &$attributes, array $form_values) {
$this->attributes =& $attributes;
$this->formValues = $form_values;
}