PHP code example of jinjie / silverstripe-admin-material-icons
1. Go to this page and download the library: Download jinjie/silverstripe-admin-material-icons library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
jinjie / silverstripe-admin-material-icons example snippets
// In ModelAdmin
class MyModelAdmin extends ModelAdmin {
private static $menu_icon_class = 'mdi:face';
}