We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
entry_class
1 parent ea02acd commit 84a64f3Copy full SHA for 84a64f3
src/Collections/Collection.php
@@ -36,6 +36,7 @@ public static function fromModel(Model $model)
36
->futureDateBehavior($model->settings['future_date_behavior'] ?? null)
37
->pastDateBehavior($model->settings['past_date_behavior'] ?? null)
38
->previewTargets($model->settings['preview_targets'] ?? [])
39
+ ->entryClass($model->settings['entry_class'] ?? null)
40
->handle($model->handle)
41
->model($model);
42
}
@@ -76,6 +77,7 @@ public static function makeModelFromContract(Contract $source)
76
77
'future_date_behavior' => $source->futureDateBehavior(),
78
'preview_targets' => $source->previewTargets(),
79
'origin_behavior' => $source->originBehavior(),
80
+ 'entry_class' => $source->entryClass(),
81
]);
82
83
return $model;
0 commit comments