mirror of
https://github.com/a2nt/cms-niceties.git
synced 2024-10-22 11:05:46 +02:00
IMP: Tiktok Link
This commit is contained in:
parent
c29014512d
commit
8308ecc94d
@ -51,6 +51,7 @@ class SocialExtension extends DataExtension
|
|||||||
'YouTube' => Link::class,
|
'YouTube' => Link::class,
|
||||||
'PublicEmail' => Link::class,
|
'PublicEmail' => Link::class,
|
||||||
'PhoneNumber' => Link::class,
|
'PhoneNumber' => Link::class,
|
||||||
|
'Tiktok' => Link::class,
|
||||||
];
|
];
|
||||||
|
|
||||||
public function updateCMSFields(FieldList $fields)
|
public function updateCMSFields(FieldList $fields)
|
||||||
@ -70,6 +71,7 @@ class SocialExtension extends DataExtension
|
|||||||
LinkField::create('Instagram', 'Instagram', $this->owner, $cfg),
|
LinkField::create('Instagram', 'Instagram', $this->owner, $cfg),
|
||||||
LinkField::create('Twitter', 'Twitter', $this->owner, $cfg),
|
LinkField::create('Twitter', 'Twitter', $this->owner, $cfg),
|
||||||
LinkField::create('YouTube', 'YouTube', $this->owner, $cfg),
|
LinkField::create('YouTube', 'YouTube', $this->owner, $cfg),
|
||||||
|
LinkField::create('Tiktok', 'Tiktok' , $this->owner, $cfg),
|
||||||
];
|
];
|
||||||
|
|
||||||
$fields->findOrMakeTab('Root.Social');
|
$fields->findOrMakeTab('Root.Social');
|
||||||
|
Loading…
Reference in New Issue
Block a user