backend.list.extendRecords

Triggered in Backend\Widgets\Lists.

Provides an opportunity to modify and / or return the $records Collection object before the widget uses it.

Example usage:

Event::listen('backend.list.extendRecords', function ($listWidget, $records) {
    $model = MyModel::where('always_include', true)->first();
    $records->prepend($model);
});

Or

$listWidget->bindEvent('list.extendRecords', function ($records) {
    $model = MyModel::where('always_include', true)->first();
    $records->prepend($model);
});