backend.list.overrideHeaderValue

Triggered in Backend\Widgets\Lists.

Overrides the column header value in a list widget.

If a value is returned from this event, it will be used as the value for the provided column. $value is passed by reference so modifying the variable in place is also supported. Example usage:

Event::listen('backend.list.overrideHeaderValue', function($listWidget, $column, &$value) {
    $value .= '-modified';
});

Or

$listWidget->bindEvent('list.overrideHeaderValue', function ($column, $value) {
    return 'Custom header value';
});