Passed
Push — master ( 992e52...dc2c5c )
by Georgi
03:52
created

UserMenu::entries()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 5
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 6
rs 10
1
<?php 
2
3
namespace Epesi\Core\System\User\Settings\Integration;
4
5
use Epesi\Core\Layout\Integration\Joints\UserMenuJoint;
6
7
class UserMenu extends UserMenuJoint
8
{
9
	public function entries() {
10
		return [
11
				'user.settings' => [
12
						'item' => [__('User Settings'), 'icon' => 'settings', 'class' => ['pjax']],
13
						'action' => url('view/user.settings'),
14
						'group' => '10000:user'
15
				]
16
		];
17
	}
18
}