mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
Add some missing comments
This commit is contained in:
parent
793f437289
commit
8d0a5dd093
@ -123,7 +123,13 @@ class UserFormsRequiredFields extends RequiredFields
|
||||
return $error;
|
||||
}
|
||||
|
||||
private function handleError($formField, $fieldName)
|
||||
/**
|
||||
* Register an error for the provided field.
|
||||
* @param FormField $formField
|
||||
* @param string $fieldName
|
||||
* @return void
|
||||
*/
|
||||
private function handleError(FormField $formField, $fieldName)
|
||||
{
|
||||
$errorMessage = _t(
|
||||
'SilverStripe\\Forms\\Form.FIELDISREQUIRED',
|
||||
|
Loading…
Reference in New Issue
Block a user