Created
November 22, 2014 06:59
-
-
Save dljoseph/97703575aef9a102ce4e to your computer and use it in GitHub Desktop.
SilverStripe SiteConfig TabSet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$set = new TabSet( | |
'test tab set', | |
new Tab( | |
'tab a', | |
TextField::create('TabAContent') | |
), | |
new Tab( | |
'tab b', | |
TextField::create('TabABontent') | |
) | |
); | |
$fields->addFieldToTab('Root', $set); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment