You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// possible positions: 'beginning' and 'end'; defaults to 'beginning' for the 'line' stack, 'end' for the others;
48
+
// $this->crud->addButton($stack, $name, $type, $content, $position); // add a button; possible types are: view, model_function
49
+
// $this->crud->addButtonFromModelFunction($stack, $name, $model_function_name, $position); // add a button whose HTML is returned by a method in the CRUD model
50
+
// $this->crud->addButtonFromView($stack, $name, $view, $position); // add a button whose HTML is in a view placed at resources\views\vendor\backpack\crud\buttons
@@ -56,11 +64,22 @@ class DummyClassCrudController extends CrudController {
56
64
// NOTE: you also need to do allow access to the right users: $this->crud->allowAccess('details_row');
57
65
// NOTE: you also need to do overwrite the showDetailsRow($id) method in your EntityCrudController to show whatever you'd like in the details row OR overwrite the views/backpack/crud/details_row.blade.php
58
66
67
+
// ------ REVISIONS
68
+
// You also need to use \Venturecraft\Revisionable\RevisionableTrait;
0 commit comments