From ff7654db1f4ec82cf2479c6da1df41348d345bc3 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Fri, 14 May 2021 15:17:50 +0200 Subject: [PATCH] Update 11_Scaffolding.md --- docs/en/02_Developer_Guides/00_Model/11_Scaffolding.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/en/02_Developer_Guides/00_Model/11_Scaffolding.md b/docs/en/02_Developer_Guides/00_Model/11_Scaffolding.md index 334d4e58d..7b29ddad4 100644 --- a/docs/en/02_Developer_Guides/00_Model/11_Scaffolding.md +++ b/docs/en/02_Developer_Guides/00_Model/11_Scaffolding.md @@ -7,7 +7,7 @@ icon: hammer # Scaffolding The ORM already has a lot of information about the data represented by a `DataObject` through its `$db` property, so -SilverStripe will use that information to provide scaffold some interfaces. This is done though [FormScaffolder](api:SilverStripe\Forms\FormScaffolder) +SilverStripe will use that information to provide scaffold for some interfaces. This is done though [FormScaffolder](api:SilverStripe\Forms\FormScaffolder) to provide reasonable defaults based on the property type (e.g. a checkbox field for booleans). You can then further customise those fields as required. @@ -232,7 +232,7 @@ class MyDataObject extends DataObject ``` -In order to re-label any summary fields, you can use the $field_labels static. +In order to re-label any summary fields, you can use the `$field_labels` static. ```php use SilverStripe\ORM\DataObject;