This extension listen to some events to modify the core functionality.
Here you see a list of EventListeners that are subscribed by this extension.
AfterCurrentPageIsResolvedEvent
Seeds the value of LiaSiteTitle elements in the FormState with the current page
title, as long as no value has been set yet. This Subscriber is registered by the
lia-form/after-current-page-is-resolved. You can align your EventListener after
this event by adding the following tag after: 'lia-form/after-current-page-is-resolved'
Note
Two subscribers fill LiaSiteTitle, on different layers, and they do not
compete. What the hidden field renders is always the defaultValue property
set by lia-form/before-renderable-is-added, because the partial passes it as
an explicit value attribute and Fluid prefers that over the mapped value.
The FormState value seeded here is what FormRuntime::getElementValue()
returns, so it is the fallback that keeps finishers and mails populated when
the hidden field is not submitted back.
Attention
This subscriber only seeds FormState values, it does not modify
$event->currentPage. If your own EventListener uses
after: 'lia-form/after-current-page-is-resolved' because it relies on the
current page having been finally resolved at that point, that assumption no
longer holds — align it against whichever subscriber resolves the page in your
installation. Ordering against a stale identifier is not reported as an error,
your EventListener silently loses its ordering.