Tries to load the form associated with the operation.
This function is a callback for the
The OPERATION_POST_ID parameter provides the key of the form active
record to load.
If the form is successfully retrieved a callback is added to the
"<operation_class>::process" event, it is used to send a notify message
with the parameters provided by the form active record. The callback also
provides further processing.
At the very end of the process, the
Icybee\Modules\Forms\Form::sent event is fired.
If defined, the
alter_notify method of the form is invoked to
alter the notify options. The method is wrapped with the
is_notify property of the record is true a notify message
is sent with the notify options.
The result of the operation using the form is stored in the session under
[modules][forms][rc][<record_nid>]. This stored value is used
when the form is rendered to choose what to render. For example, if the value is
empty, the form is rendered with the
messages, otherwise only the
complete message is rendered.