mirror of
https://github.com/a2nt/cms-niceties.git
synced 2024-10-22 11:05:46 +02:00
IMPR: Add submitted user forms to Dashboard
This commit is contained in:
parent
bfe7826329
commit
70ed43839a
@ -6,6 +6,7 @@ use SilverStripe\Admin\LeftAndMain;
|
|||||||
use SilverStripe\Assets\File;
|
use SilverStripe\Assets\File;
|
||||||
use SilverStripe\CMS\Model\SiteTree;
|
use SilverStripe\CMS\Model\SiteTree;
|
||||||
use SilverStripe\ORM\ArrayList;
|
use SilverStripe\ORM\ArrayList;
|
||||||
|
use SilverStripe\UserForms\Model\Submission\SubmittedForm;
|
||||||
|
|
||||||
class Dashboard extends LeftAndMain
|
class Dashboard extends LeftAndMain
|
||||||
{
|
{
|
||||||
@ -15,7 +16,9 @@ class Dashboard extends LeftAndMain
|
|||||||
private static $url_priority = 30;
|
private static $url_priority = 30;
|
||||||
|
|
||||||
private static $menu_icon_class = 'font-icon-dashboard';
|
private static $menu_icon_class = 'font-icon-dashboard';
|
||||||
private static $managed_models = [];
|
private static $managed_models = [
|
||||||
|
SubmittedForm::class,
|
||||||
|
];
|
||||||
|
|
||||||
protected static function getRecentObjects($class, $limit = 10)
|
protected static function getRecentObjects($class, $limit = 10)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user