mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
API Add extension hook to FormField::extraClass()
This commit is contained in:
commit
413b4936a1
@ -470,6 +470,8 @@ class FormField extends RequestHandler {
|
||||
if($this->Message()) {
|
||||
$classes[] .= 'holder-' . $this->MessageType();
|
||||
}
|
||||
|
||||
$this->extend('updateExtraClass', $classes);
|
||||
|
||||
return implode(' ', $classes);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user