You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
400 B

<?php
namespace Modules\emptyWidget\Actions;
use CControllerDashboardWidgetView;
use CControllerResponseData;
class WidgetView extends CControllerDashboardWidgetView {
protected function doAction(): void {
$this->setResponse(new CControllerResponseData([
'name' => $this->getInput('name', $this->widget->getName()),
'user' => [
'debug_mode' => $this->getDebugMode()
]
]));
}
}