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