RenderNewPasswordFooterEvent
RenderNewPasswordFooterEvent is dispatched from the page where a user creates or confirms a new password. Modules can use it to inject footer content that is specific to the password reset completion screen.
Where It Runs
This event is implemented in resources/views/pages/auth/new-password.blade.php. It runs inside the layout.base.footer section after the page has rendered the new password form area.
Available Properties
$event->output: anApp\\Classes\\Outputinstance used to append rendered footer content.
Listener Example
<?php
namespace Modules\MyModule\Listeners;
use App\Events\RenderNewPasswordFooterEvent;
class RenderNewPasswordFooterEventListener
{
public function handle( RenderNewPasswordFooterEvent $event )
{
$event->output->addView( 'MyModule::auth.new-password-footer' );
}
}
Summary
- Use this event for footer output required on the new password page.
- Append a module view with
$event->output->addView().