Link(); return array_merge(parent::getClientConfig(), [ 'reactRouter' => false, 'form' => [ 'TestEditForm' => [ 'schemaUrl' => $this->Link('schema/TestEditForm'), ], ] ]); } public function getTestEditForm($id = null) { /* @var $page BasicFieldsTestPage */ $page = BasicFieldsTestPage::create(); $form = Form::create($this, 'TestEditForm', $page->getCMSFields(), FieldList::create([])); return $form; } public function TestEditForm() { return $this->getTestEditForm(); } /** * @todo Implement on client * * @param bool $unlinked * @return ArrayList */ public function breadcrumbs($unlinked = false) { return null; } public function getEditForm($id = null, $fields = null) { Requirements::javascript('frameworktest/client/dist/legacy.js'); return Form::create($this, 'TestEditForm', FieldList::create(), FieldList::create()); } }