-
Notifications
You must be signed in to change notification settings - Fork 0
/
Administration.php
46 lines (37 loc) · 962 Bytes
/
Administration.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<?php
/**
* Copyright (c) 2017. ProVision Media Group Ltd. <http://provision.bg>
* Venelin Iliev <http://veneliniliev.com>
*/
/*
* ProVision Administration, http://ProVision.bg
* Author: Venelin Iliev, http://veneliniliev.com
*/
namespace ProVision\MediaManager;
use Illuminate\Support\Facades\Route;
use Kris\LaravelFormBuilder\Form;
use ProVision\Administration\Contracts\Module;
use ProVision\MediaManager\Http\Controllers\MediaManagerController;
class Administration implements Module
{
public function routes($module)
{
Route::resource('media-manager', MediaManagerController::class);
}
public function dashboard($module)
{
}
public function menu($module)
{
}
/**
* Add settings in administration panel
* @param $module
* @param Form $form
* @return mixed
*/
public function settings($module, Form $form)
{
// TODO: Implement settings() method.
}
}