PublishFieldsetFound
Statamic\Events\Data\PublishFieldsetFound
This is dispatched after Statamic finds the fieldset to be used on a publish page.
public function handle(PublishFieldsetFound $event);
You may modify the fieldset here and it will be reflected in the publish form.
An example of when this would be useful is to add a section to a fieldset in the publish page on the fly.
Properties
fieldset
Fieldset |
The |
---|---|
type
string |
The type of data object. Either "page", "entry", "term", "globals", or "user" |
data
Data |
An instance of |