add extension hoot to FormField::extraClass()

This commit is contained in:
Florian Thoma 2017-06-10 09:52:22 +10:00 committed by GitHub
parent 035a9b049e
commit 7648428fdb

View File

@ -470,6 +470,8 @@ class FormField extends RequestHandler {
if($this->Message()) {
$classes[] .= 'holder-' . $this->MessageType();
}
$this->extend('updateExtraClass', $classes);
return implode(' ', $classes);
}