1
0
mirror of https://github.com/a2nt/silverstripe-font-awesome.git synced 2024-10-22 17:05:51 +02:00

Set defaults for settings.

This commit is contained in:
Chris Turner 2015-05-18 15:57:03 -04:00
parent 5cc7677315
commit a63cc5b0b9

View File

@ -10,6 +10,11 @@ class FASettings extends DataExtension
'UseThemeCSS' => 'boolean(1)',
);
private static $defaults = array(
'UseCDN' => false,
'UseThemeCSS' => false,
);
public function updateCMSFields(FieldList $fields)
{
$fields->addFieldsToTab('Root.FontAwesome', array(