phplinting

This commit is contained in:
Bauke Zwaan 2022-10-25 10:39:54 +02:00
parent 60fad6af60
commit 8cdb601f7a
1 changed files with 2 additions and 3 deletions

View File

@ -446,11 +446,10 @@ class EditableFormField extends DataObject
->max('Sort') + 1;
}
// Include _new_ Email Fields by default in GridField summary
// Include _new_ Email Fields by default in GridField summary (not possible via $defaults since the initial record is always EditableFormField)
if ($this->isChanged('ClassName') && $this->ClassName === EditableEmailField::class) {
$this->ShowInSummary = true;
};
}
}
/**