mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR: Provide a setter for heading level on HeaderField object.
This commit is contained in:
parent
fd7f2eb469
commit
68db977ef1
@ -35,6 +35,10 @@ class HeaderField extends DatalessField {
|
||||
public function getHeadingLevel() {
|
||||
return $this->headingLevel;
|
||||
}
|
||||
|
||||
public function setHeadingLevel($level) {
|
||||
$this->headingLevel = $level;
|
||||
}
|
||||
|
||||
function getAttributes() {
|
||||
return array_merge(
|
||||
|
Loading…
Reference in New Issue
Block a user