API Add extension hook to FormField::extraClass()

This commit is contained in:
Damian Mooyman 2017-06-10 14:26:22 +12:00 committed by GitHub
commit 413b4936a1

View File

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