class ErlMergeAttributesEvent in Entity Reference with Layout 8
Event that is fired when erl attributes are merged into layout_options.
Hierarchy
- class \Drupal\entity_reference_layout\Event\ErlMergeAttributesEvent extends \Symfony\Component\EventDispatcher\Event
Expanded class hierarchy of ErlMergeAttributesEvent
1 file declares its use of ErlMergeAttributesEvent
File
- src/Event/ ErlMergeAttributesEvent.php, line 10 
Namespace
Drupal\entity_reference_layout\EventView source
class ErlMergeAttributesEvent extends Event {
  const EVENT_NAME = 'erl_merge_attributes';
  public $attributes;
  public $formValues;
  /**
   * Constructs the object.
   *
   * @param array $attributes
   *   Attributes array being built.
   * @param array $form_values
   *   Form values to merge into attributes.
   */
  public function __construct(array &$attributes, array $form_values) {
    $this->attributes =& $attributes;
    $this->formValues = $form_values;
  }
}Members
| Name   | Modifiers | Type | Description | Overrides | 
|---|---|---|---|---|
| ErlMergeAttributesEvent:: | public | property | ||
| ErlMergeAttributesEvent:: | public | property | ||
| ErlMergeAttributesEvent:: | constant | |||
| ErlMergeAttributesEvent:: | public | function | Constructs the object. | 
