-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcontroller.php
45 lines (37 loc) · 1.19 KB
/
controller.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<?php
/*
* FontAwesome Social Media "Vist" Icons by Thomas Dausner (aka dausi)
* based on: SVG Social Media Icons by Karl Dilkington (aka MrKDilkington)
*
* This software is licensed under the terms described in the concrete5.org marketplace.
* Please find the add-on there for the latest license copy.
*/
namespace Concrete\Package\TdsFaSocialMediaIcons;
use Concrete\Core\Package\Package;
use Concrete\Core\Block\BlockType\BlockType;
class Controller extends Package
{
protected $pkgHandle = 'tds_fa_social_media_icons';
protected $appVersionRequired = '5.7.5.6';
protected $pkgVersion = '0.9.8';
public function getPackageName()
{
return t('TDS Social Media "Visit my/our page" Icons (EU-GDPR compliant)');
}
public function getPackageDescription()
{
return t('Add EU-GDPR compliant social media "Visit my/our page" icons on your pages.');
}
public function install()
{
$pkg = parent::install();
$blk = BlockType::getByHandle($this->pkgHandle);
if (!is_object($blk)) {
BlockType::installBlockType($this->pkgHandle, $pkg);
}
}
public function uninstall()
{
$pkg = parent::uninstall();
}
}