RenderSignUpFooterEvent
RenderSignUpFooterEvent is dispatched from the sign-up page footer. Modules can listen to it when they need to append footer content that only belongs to account registration.
Where It Runs
This event is implemented in resources/views/pages/auth/sign-up.blade.php. It runs inside the layout.base.footer section before the authentication assets are loaded.
Available Properties
$event->output: anApp\\Classes\\Outputinstance used to append rendered footer content.
Listener Example
<?php
namespace Modules\MyModule\Listeners;
use App\Events\RenderSignUpFooterEvent;
class RenderSignUpFooterEventListener
{
public function handle( RenderSignUpFooterEvent $event )
{
$event->output->addView( 'MyModule::auth.sign-up-footer' );
}
}
Summary
- Use this event for footer content required only on the sign-up page.
- Append a module view through
$event->output->addView().