FEATURE #1422: prepare application for registering widgets
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
namespace App\Widgets\Contracts;
|
||||
|
||||
interface AdminDashboardWidget extends PublicWidget
|
||||
{
|
||||
/**
|
||||
* Getter for list of all roles which are allowed to display the widget
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public static function renderForRoles();
|
||||
}
|
||||
Reference in New Issue
Block a user