Extend query on relation behavior

From a relation behavior config file like this

checks:
    label: Status
    list: @/plugins/path/to/your/relation/config/columns.yaml
    emptyMessage: backend::lang.list.no_records

You can extend the list query with this method :

relationStatus_listExtendQuery($query)
{
    // Here you can extend query definitions
    return $query;
}