| 1 | <?php  | 
            ||
| 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 |