Deprecate TextField::InternallyLabelledField() (closes #1684)

This commit is contained in:
Loz Calver 2016-03-26 11:07:33 +00:00
parent 0ce257495b
commit d9798af30c

View File

@ -74,6 +74,8 @@ class TextField extends FormField {
* @return string
*/
public function InternallyLabelledField() {
Deprecation::notice('4.0', 'Please use ->setValue() instead');
if(!$this->value) {
$this->value = $this->Title();
}