mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Clarify that $title in FormField can accept ViewableData (#9268)
Clarify that $title in FormField can accept ViewableData
This commit is contained in:
commit
9c163afdf8
@ -331,7 +331,7 @@ class FormField extends RequestHandler
|
|||||||
* Creates a new field.
|
* Creates a new field.
|
||||||
*
|
*
|
||||||
* @param string $name The internal field name, passed to forms.
|
* @param string $name The internal field name, passed to forms.
|
||||||
* @param null|string $title The human-readable field label.
|
* @param null|string|SilverStripe\View\ViewableData $title The human-readable field label.
|
||||||
* @param mixed $value The value of the field.
|
* @param mixed $value The value of the field.
|
||||||
*/
|
*/
|
||||||
public function __construct($name, $title = null, $value = null)
|
public function __construct($name, $title = null, $value = null)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user