mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Fluent interface for ToggleCompositeField
This commit is contained in:
parent
b4ecc308a1
commit
b42a76bebc
@ -66,6 +66,7 @@ class ToggleCompositeField extends CompositeField {
|
||||
*/
|
||||
public function setStartClosed($bool) {
|
||||
$this->startClosed = (bool) $bool;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
@ -80,6 +81,7 @@ class ToggleCompositeField extends CompositeField {
|
||||
*/
|
||||
public function setHeadingLevel($level) {
|
||||
$this->headingLevel = $level;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user