mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-08 18:51:12 +02:00
Merge pull request #2634 from pine3ree/patch-1
make setHeadingLevel a chainable method
This commit is contained in:
commit
4e79159969
@ -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