mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
ManyManyList->getExtraFields()
Needed for introspection for many_many relationships without knowing the name of the relationship, meaning we can't use DataObject->many_many_extraFields().
This commit is contained in:
parent
1e56de22d2
commit
f922321287
@ -189,4 +189,12 @@ class ManyManyList extends RelationList {
|
|||||||
|
|
||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return Array Map of field => fieldtype
|
||||||
|
*/
|
||||||
|
function getExtraFields() {
|
||||||
|
return $this->extraFields;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user