-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathcontroller.php
More file actions
48 lines (39 loc) · 871 Bytes
/
controller.php
File metadata and controls
48 lines (39 loc) · 871 Bytes
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
46
47
48
<?php
namespace Concrete\Package\QuickTabs;
use Concrete\Core\Block\BlockType\BlockType;
use Concrete\Core\Package\Package;
defined('C5_EXECUTE') or die(_('Access Denied.'));
class Controller extends Package
{
protected $pkgHandle = 'quick_tabs';
protected $appVersionRequired = '5.7.1';
protected $pkgVersion = '1.1.0';
/**
* {@inheritdoc}
*
* @see \Concrete\Core\Package\Package::getPackageName()
*/
public function getPackageName()
{
return t('Quick Tabs');
}
/**
* {@inheritdoc}
*
* @see \Concrete\Core\Package\Package::getPackageDescription()
*/
public function getPackageDescription()
{
return t('Add Tabs to your site');
}
/**
* {@inheritdoc}
*
* @see \Concrete\Core\Package\Package::install()
*/
public function install()
{
$pkg = parent::install();
BlockType::installBlockType('quick_tabs', $pkg);
}
}