Passed
Push — master ( a357e7...195a07 )
by Anton
04:22 queued 01:11
created

Widget::processEntity()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 1
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 1
rs 10
c 0
b 0
f 0
cc 1
eloc 1
nc 1
nop 0
1
<?php
2
3
namespace Modules\Entitizer\Handler\Edit {
4
5
	use Modules\Entitizer;
6
7
	class Widget extends Entitizer\Utils\Handler {
8
9
		use Entitizer\Common\Widget;
10
11
		protected $title = 'TITLE_CONTENT_WIDGETS_EDIT';
12
13
		# Handler configuration
14
15
		protected static $controller = 'Modules\Entitizer\Controller\Widget';
16
17
		protected static $link = '/admin/content/widgets';
18
19
		protected static $naming = 'title', $naming_new = 'WIDGETS_ITEM_NEW';
20
21
		protected static $form_class = 'Modules\Entitizer\Form\Widget';
22
23
		protected static $message_success_save = 'WIDGET_SUCCESS_SAVE';
24
25
		protected static $message_error_remove = 'WIDGET_ERROR_REMOVE';
26
27
		protected static $view = 'Blocks/Entitizer/Widgets/Main';
28
29
		# Add additional data for specific entity
30
31
		protected function processEntity() {}
32
	}
33
}
34