Issues (13)

src/admin/IconsAdmin.php (4 issues)

Severity
1
<?php
2
3
namespace Magnum34\SilverStripeSVGGO\Admin;
4
5
use SilverStripe\Admin\ModelAdmin;
6
use Magnum34\SilverStripeSVGGO\Models\IconSVG;
7
8
/**
9
 * Created by PhpStorm.
10
 * User: mariusz
11
 * Date: 19.07.19
12
 * Time: 09:36
13
 */
14
15
class IconsAdmin extends ModelAdmin
16
{
17
  private static $url_segment = 'icons';
0 ignored issues
show
The private property $url_segment is not used, and could be removed.
Loading history...
18
19
  private static $managed_models = [
0 ignored issues
show
The private property $managed_models is not used, and could be removed.
Loading history...
20
    IconSVG::class,
21
22
  ];
23
24
  private static  $menu_icon_class  = 'font-icon-picture';
0 ignored issues
show
The private property $menu_icon_class is not used, and could be removed.
Loading history...
25
26
  private static $menu_title = 'Icons';
0 ignored issues
show
The private property $menu_title is not used, and could be removed.
Loading history...
27
28
  public function getEditForm($id = null, $fields = null)
29
  {
30
31
    $form = parent::getEditForm($id, $fields);
32
33
    return $form;
34
  }
35
36
}
37