mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #286 from drzax/forms
ENHANCEMENT: Heading level updatable on heading form fields.
This commit is contained in:
commit
1996089b8b
@ -36,6 +36,10 @@ class HeaderField extends DatalessField {
|
||||
return $this->headingLevel;
|
||||
}
|
||||
|
||||
public function setHeadingLevel($level) {
|
||||
$this->headingLevel = $level;
|
||||
}
|
||||
|
||||
function getAttributes() {
|
||||
return array_merge(
|
||||
array(
|
||||
|
Loading…
Reference in New Issue
Block a user