Milkyway\SS\GridFieldUtils\AddNewInlineExtended_MultiClass::getAllowedClasses
Gets the classes that can be created using this button, defaulting to the model class and its subclasses.
Signature
public function getAllowedClasses(GridField
$grid )
Parameters
$grid
— \GridField
Returns
- array
- a map of class name to title