$prepareDataProvider public property
A PHP callable that will be called to prepare a data provider that should return a collection of the models. If not set, prepareDataProvider() will be used instead. The signature of the callable should be: function ($action) {
// $action is the action object currently running
}
The callable should return an instance of yii\data\ActiveDataProvider.
public callable $prepareDataProvider = null