mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-30 05:09:06 +02:00
MINOR Added FormField->getDescription() to complement FormField->describe()
This commit is contained in:
parent
454b89f2bb
commit
ad8fe82b37
@ -701,6 +701,13 @@ class FormField extends RequestHandler {
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return String
|
||||
*/
|
||||
function getDescription() {
|
||||
return $this->description;
|
||||
}
|
||||
|
||||
function debug() {
|
||||
return "$this->class ($this->name: $this->title : <font style='color:red;'>$this->message</font>) = $this->value";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user