mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
make setHeadingLevel a chainable method
This commit is contained in:
parent
90017821a1
commit
0e05353efc
@ -39,6 +39,7 @@ class HeaderField extends DatalessField {
|
|||||||
|
|
||||||
public function setHeadingLevel($level) {
|
public function setHeadingLevel($level) {
|
||||||
$this->headingLevel = $level;
|
$this->headingLevel = $level;
|
||||||
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getAttributes() {
|
public function getAttributes() {
|
||||||
|
Loading…
Reference in New Issue
Block a user