Created
November 30, 2015 18:05
-
-
Save DevJMD/4630a9a83e0fd82ec4c6 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
class PersonAdmin extends ModelAdmin { | |
private static $managed_models = array( | |
'Person' | |
); | |
private static $menu_title = 'Persons'; | |
private static $url_segment = 'persons'; | |
public function getCMSFields() { | |
$fields = parent::getCMSFields(); | |
return $fields; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment