Commit 72e4a4c 1 parent ae6957f commit 72e4a4c Copy full SHA for 72e4a4c
File tree 1 file changed +12
-0
lines changed
src/Http/Controllers/Admin
1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -332,6 +332,10 @@ abstract class ModuleController extends Controller
332
332
protected $ viewPrefix ;
333
333
334
334
/**
335
+ * The template to use for previewing.
336
+ *
337
+ * Do not modify this directly but use the method setPreviewView().
338
+ *
335
339
* @var string
336
340
*/
337
341
protected $ previewView ;
@@ -748,6 +752,14 @@ protected function setBreadcrumbs(Breadcrumbs $breadcrumbs): void
748
752
$ this ->breadcrumbs = $ breadcrumbs ;
749
753
}
750
754
755
+ /**
756
+ * Set the template for the preview view.
757
+ */
758
+ protected function setPreviewView (string $ previewView ): void
759
+ {
760
+ $ this ->previewView = $ previewView ;
761
+ }
762
+
751
763
/**
752
764
* $type can be index or browser.
753
765
*/
You can’t perform that action at this time.
0 commit comments