SilverStripe\AssetAdmin\Controller\AssetAdmin::schema
Gets a JSON schema representing the current edit form.
WARNING: Experimental API.
Signature
public function schema(HTTPRequest
$request )
Parameters
$request
— object
Returns
- HTTPResponse
Line | Task |
---|---|
906 | Eventually all form scaffolding will be based on context rather than record ID |