backend.list.extendQueryBefore

Triggered in Backend\Widgets\Lists.

Provides an opportunity to modify the $query object before the List widget applies its scopes to it.

Example usage:

Event::listen('backend.list.extendQueryBefore', function ($listWidget, $query) {
    $query->whereNull('deleted_at');
});

Or

$listWidget->bindEvent('list.extendQueryBefore', function ($query) {
    $query->whereNull('deleted_at');
});