Events

If you need to trigger any custom code when a user does anything with Guest Entries, this addon provides some addons to let you do that.

GuestEntryCreated

DuncanMcClean\GuestEntries\Events\GuestEntryCreated

This event is fired whenever an entry is created via {{ guest-entries:create }}.

public function handle(GuestEntryCreated $event)
{
$event->entry;
}
public function handle(GuestEntryCreated $event)
{
$event->entry;
}

GuestEntryUpdated

DuncanMcClean\GuestEntries\Events\GuestEntryUpdated

This event is fired whenever an entry is updated via {{ guest-entries:update }}.

public function handle(GuestEntryUpdated $event)
{
$event->entry;
}
public function handle(GuestEntryUpdated $event)
{
$event->entry;
}

GuestEntryDeleted

DuncanMcClean\GuestEntries\Events\GuestEntryDeleted

This event is fired whenever an entry is updated via {{ guest-entries:delete }}.

public function handle(GuestEntryDeleted $event)
{
$event->entry;
}
public function handle(GuestEntryDeleted $event)
{
$event->entry;
}