| Total Complexity | 1 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | class PolymorphicPeopleGroup extends DataObject implements TestOnly |
||
| 11 | { |
||
| 12 | private static $table_name = 'GridFieldDetailFormTest_PolymorphicPeopleGroup'; |
||
|
|
|||
| 13 | |||
| 14 | private static $db = [ |
||
| 15 | 'Name' => 'Varchar' |
||
| 16 | ]; |
||
| 17 | |||
| 18 | private static $has_many = [ |
||
| 19 | 'People' => Person::class |
||
| 20 | ]; |
||
| 21 | |||
| 22 | private static $default_sort = '"Name"'; |
||
| 23 | |||
| 24 | public function getCMSFields() |
||
| 39 |