mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
5810ecf7b9
In it's current state you need to revert to something like `Session::get('CMSMain.currentPage')` to get the foreign key of what the item you are creating relates to (e.g. a Book => has_many Author) - if you create a new Author you may need to reference the owning Book in the `getCMSFields` function. This is just a small quality of life buff that populates that foreign key before calling `getCMSFields()` rather than after. This should not break backwards compatibility in any way and isn't exactly a new feature so could be considered a bug fix. |
||
---|---|---|
.. | ||
GridField.php | ||
GridFieldAddExistingAutocompleter.php | ||
GridFieldAddNewButton.php | ||
GridFieldButtonRow.php | ||
GridFieldComponent.php | ||
GridFieldConfig.php | ||
GridFieldDataColumns.php | ||
GridFieldDeleteAction.php | ||
GridFieldDetailForm.php | ||
GridFieldEditButton.php | ||
GridFieldExportButton.php | ||
GridFieldFilterHeader.php | ||
GridFieldFooter.php | ||
GridFieldLevelup.php | ||
GridFieldPageCount.php | ||
GridFieldPaginator.php | ||
GridFieldPrintButton.php | ||
GridFieldSortableHeader.php | ||
GridFieldToolbarHeader.php | ||
GridFieldViewButton.php | ||
GridState.php |