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\TextField;
|
||||
use SilverStripe\ORM\DataExtension;
|
||||
use SilverStripe\UserForms\Model\UserDefinedForm;
|
||||
|
||||
class SocialExtension extends DataExtension
|
||||
{
|
||||
@ -49,7 +48,7 @@ class SocialExtension extends DataExtension
|
||||
}
|
||||
|
||||
$fields->findOrMakeTab('Root.Social');
|
||||
UserDefinedForm::
|
||||
|
||||
$fields->addFieldsToTab('Root.Social', [
|
||||
LinkField::create('PublicEmailID', 'Public Email')
|
||||
->setAllowedTypes(['Email']),
|
||||
@ -60,4 +59,4 @@ UserDefinedForm::
|
||||
|
||||
$fields->addFieldsToTab('Root.Social', $linkFields);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user