-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Mystique.module.php
executable file
·79 lines (62 loc) · 1.82 KB
/
Mystique.module.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<?php
namespace ProcessWire;
/**
* Class Mystique
*
* @author : İskender TOTOĞLU, @ukyo (community), @trk (Github)
* @website : https://www.altivebir.com
*
* @package Altivebir\Mystique
*/
class Mystique extends WireData implements Module
{
const FIELDSET = 'InputfieldFieldset';
const MARKUP = 'InputfieldMarkup';
const TEXT = 'InputfieldText';
const TEXTAREA = 'InputfieldTextarea';
const CHECKBOX = 'InputfieldCheckbox';
const TOGGLE = 'InputfieldToggle';
const TOGGLE_CHECKBOX = 'InputfieldToggleCheckbox';
const SELECT = 'InputfieldSelect';
const INTEGER = 'InputfieldInteger';
const IMAGE = 'InputfieldImage';
const ICON_PICKER = 'InputfieldFontIconPicker';
const ICON = 'InputfieldIcon';
const COLOR = 'InputfieldColor';
/**
* @inheritdoc
*
* @return array
*/
public static function getModuleInfo()
{
return [
'title' => 'Mystique',
'version' => '0.0.21',
'summary' => __('Mystique is a config file based field creation module for ProcessWire CMS/CMF by ALTI VE BIR.'),
'href' => 'https://www.altivebir.com',
'author' => 'İskender TOTOĞLU | @ukyo(community), @trk (Github), https://www.altivebir.com',
'requires' => [
'PHP>=7.0.0',
'ProcessWire>=3.0.0'
],
'installs' => [
'FieldtypeMystique',
'InputfieldMystique'
],
// 'permanent' => false,
// 'permission' => 'permission-name',
'permissions' => [],
'icon' => 'cogs',
'singular' => true,
'autoload' => true
];
}
/**
* @inheritDoc
*/
public function __construct()
{
parent::__construct();
}
}