Update SiteTree.php

This commit is contained in:
Tony Air 2020-05-06 17:34:37 +07:00 committed by GitHub
parent cc150c9f80
commit ef4c30f729
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,7 +18,7 @@ class SiteTree extends DataExtension
{
parent::updateCMSFields($fields);
$fields->addFieldsToTab('Root.Main', [
$fields->addFieldsToTab('Root.Settings', [
CheckboxField::create('AvailableOffline', 'Make page available offline'),
]);
}