Completed
Push — master ( ec5717...657e76 )
by Matt
07:27
created

topic_preview_info   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 13
ccs 6
cts 6
cp 1
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A module() 0 10 1
1
<?php
2
/**
3
*
4
* Topic Preview
5
*
6
* @copyright (c) 2013 Matt Friedman
7
* @license GNU General Public License, version 2 (GPL-2.0)
8
*
9
*/
10
11
namespace vse\topicpreview\acp;
12
13
/**
14
* @package module_install
15
*/
16
class topic_preview_info
17
{
18 1
	public function module()
19
	{
20
		return array(
21 1
			'filename'	=> '\vse\topicpreview\acp\topic_preview_module',
22 1
			'title'		=> 'TOPIC_PREVIEW',
23
			'modes'		=> array(
24 1
				'settings'	=> array('title' => 'TOPIC_PREVIEW_SETTINGS', 'auth' => 'ext_vse/topicpreview && acl_a_board', 'cat' => array('TOPIC_PREVIEW')),
25 1
			),
26 1
		);
27
	}
28
}
29