mirror of
https://github.com/a2nt/silverstripe-webpack.git
synced 2024-10-22 17:05:31 +02:00
fix typo
This commit is contained in:
parent
33d64b648e
commit
c47a344e08
@ -14,7 +14,6 @@ use Sheadawson\Linkable\Models\Link;
|
|||||||
use SilverStripe\Forms\FieldList;
|
use SilverStripe\Forms\FieldList;
|
||||||
use SilverStripe\Forms\TextField;
|
use SilverStripe\Forms\TextField;
|
||||||
use SilverStripe\ORM\DataExtension;
|
use SilverStripe\ORM\DataExtension;
|
||||||
use SilverStripe\UserForms\Model\UserDefinedForm;
|
|
||||||
|
|
||||||
class SocialExtension extends DataExtension
|
class SocialExtension extends DataExtension
|
||||||
{
|
{
|
||||||
@ -49,7 +48,7 @@ class SocialExtension extends DataExtension
|
|||||||
}
|
}
|
||||||
|
|
||||||
$fields->findOrMakeTab('Root.Social');
|
$fields->findOrMakeTab('Root.Social');
|
||||||
UserDefinedForm::
|
|
||||||
$fields->addFieldsToTab('Root.Social', [
|
$fields->addFieldsToTab('Root.Social', [
|
||||||
LinkField::create('PublicEmailID', 'Public Email')
|
LinkField::create('PublicEmailID', 'Public Email')
|
||||||
->setAllowedTypes(['Email']),
|
->setAllowedTypes(['Email']),
|
||||||
|
Loading…
Reference in New Issue
Block a user