Created
June 27, 2019 07:57
-
-
Save sb-relaxt-at/897659e17962d0885d87b09f0307b9d7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Admin; | |
use App\Entity\FooEntity; | |
use SilverStripe\Admin\ModelAdmin; | |
class FooAdmin extends ModelAdmin { | |
private static $menu_title = 'Foo'; | |
private static $url_segment = 'foo'; | |
private static $managed_models = [ | |
FooEntity::class, | |
]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment