| 1 | <?php |
||
| 7 | class Variable extends Entitizer\Utils\Handler { |
||
| 8 | |||
| 9 | use Entitizer\Common\Variable; |
||
| 10 | |||
| 11 | # Handler configuration |
||
| 12 | |||
| 13 | protected static $controller = 'Modules\Entitizer\Controller\Variable'; |
||
| 14 | |||
| 15 | protected static $link = '/admin/content/variables'; |
||
| 16 | |||
| 17 | protected static $naming = 'title', $naming_new = 'VARIABLES_ITEM_NEW'; |
||
| 18 | |||
| 19 | protected static $form_class = 'Modules\Entitizer\Form\Variable'; |
||
| 20 | |||
| 21 | protected static $message_success_save = 'VARIABLE_SUCCESS_SAVE'; |
||
| 22 | |||
| 23 | protected static $message_error_remove = 'VARIABLE_ERROR_REMOVE'; |
||
| 24 | |||
| 25 | protected static $view = 'Blocks\Entitizer\Variables\Main'; |
||
| 26 | |||
| 27 | # Add additional data for specific entity |
||
| 28 | |||
| 29 | protected function processEntity() {} |
||
| 30 | } |
||
| 31 | } |
||
| 32 |