How do I extend/customize a function in a dataobject via subclassing?
I have created a custom class:
class CustomEditableFormField extends EditableFormField
public function getFieldConfiguration()
//Do custom stuff
I then added:
In my config.yml but the subclass is still being ignored. Do I need to include all the functions of EditableFormField like an interface, or is there something bigger I'm missing?
Note: Same question on SO https://stackoverflow.com/questions/23352571/silverstripe-extend-dataobject-via-subclass