class ErlPropertiesFormEvent in Entity Reference with Layout 8
Event that is fired when a layout options form is built.
Hierarchy
- class \Drupal\entity_reference_layout\Event\ErlPropertiesFormEvent extends \Symfony\Component\EventDispatcher\Event
Expanded class hierarchy of ErlPropertiesFormEvent
File
- src/
Event/ ErlPropertiesFormEvent.php, line 10
Namespace
Drupal\entity_reference_layout\EventView source
class ErlPropertiesFormEvent extends Event {
const EVENT_NAME = 'erl_properties_form';
public $form;
public $formDefaults;
/**
* Constructs the object.
*
* @param array $form
* The form array being built.
* @param array $form_defaults
* Default values to populate form.
*/
public function __construct(array &$form, array $form_defaults) {
$this->form =& $form;
$this->formDefaults = $form_defaults;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ErlPropertiesFormEvent:: |
public | property | ||
ErlPropertiesFormEvent:: |
public | property | ||
ErlPropertiesFormEvent:: |
constant | |||
ErlPropertiesFormEvent:: |
public | function | Constructs the object. |