Completed
Push — develop ( a3ab64...524863 )
by Daniel
13:34
created

settings_info::module()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 10
Code Lines 6

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 10
rs 9.4285
cc 1
eloc 6
nc 1
nop 0
1
<?php
2
/**
3
 *
4
 * @package sitemaker
5
 * @copyright (c) 2016 Daniel A. (blitze)
6
 * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
7
 *
8
 */
9
10
namespace blitze\sitemaker\acp;
11
12
class settings_info
13
{
14
	/**
15
	 * @return array
16
	 */
17
	public function module()
18
	{
19
		return array(
20
			'filename'	=> '\blitze\sitemaker\acp\settings_module',
21
			'title'		=> 'ACP_SITEMAKER',
22
			'modes'		=> array(
23
				'settings'		=> array('title' => 'ACP_SM_SETTINGS', 'auth' => 'ext_blitze/sitemaker && acl_a_sm_settings', 'cat' => array('ACP_SITEMAKER')),
24
			),
25
		);
26
	}
27
}
28