backend.list.overrideHeaderValue
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';
});
Usage
Triggers
Class or file | Line |
---|---|
Backend\Widgets\Lists
|
1053 |
Copyright © 2024 Winter CMS