RespUploadInit.php in N1ED - Visual editor as CKEditor plugin with Bootstrap support 8.2
File
src/Flmngr/FileUploaderServer/lib/action/resp/RespUploadInit.php
View source
<?php
namespace Drupal\n1ed\Flmngr\FileUploaderServer\lib\action\resp;
class RespUploadInit extends RespOk {
public $uploadId;
public $settings;
public function __construct($uploadId, $config) {
$this->uploadId = $uploadId;
$this->settings = new Settings();
$this->settings->maxImageResizeWidth = $config
->getMaxImageResizeWidth();
$this->settings->maxImageResizeHeight = $config
->getMaxImageResizeHeight();
}
}
Classes
Name |
Description |
RespUploadInit |
Response about upload initialization.
For conversion to JSON. |