interface ConfigInterface in N1ED - Visual editor as CKEditor plugin with Bootstrap support 8.2
Config interface for storing uploader settings.
Hierarchy
- interface \Drupal\n1ed\Flmngr\FileUploaderServer\lib\config\ConfigInterface
Expanded class hierarchy of ConfigInterface
All classes that implement ConfigInterface
1 file declares its use of ConfigInterface
- ServletConfig.php in src/
Flmngr/ FileUploaderServer/ servlet/ ServletConfig.php
File
- src/
Flmngr/ FileUploaderServer/ lib/ config/ ConfigInterface.php, line 8
Namespace
Drupal\n1ed\Flmngr\FileUploaderServer\lib\configView source
interface ConfigInterface {
/**
* Gets a path to base directory.
*/
public function getBaseDir();
/**
* Gets a path to temporary directory.
*/
public function getTmpDir();
/**
* Gets maximum size of uploading file in bytes.
*/
public function getMaxUploadFileSize();
/**
* Gets allowed extensions array.
*/
public function getAllowedExtensions();
/**
* Gets JPEG quality in percents as image optimization option.
*/
public function getJpegQuality();
/**
* Gets maximum image width for resizing.
*/
public function getMaxImageResizeWidth();
/**
* Gets maximum image height for resizing.
*/
public function getMaxImageResizeHeight();
/**
* Get crossdomain URL (for CORS).
*/
public function getCrossDomainUrl();
/**
* A flag to keep uplaods.
*/
public function doKeepUploads();
/**
* Sets a test config.
*/
public function setTestConfig($testConf);
/**
* Is testing allowed, do not turn on on production.
*/
public function isTestAllowed();
/**
* Gets a list of hosts a relocation is allowed from.
*/
public function getRelocateFromHosts();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ConfigInterface:: |
public | function | A flag to keep uplaods. | 1 |
ConfigInterface:: |
public | function | Gets allowed extensions array. | 1 |
ConfigInterface:: |
public | function | Gets a path to base directory. | 1 |
ConfigInterface:: |
public | function | Get crossdomain URL (for CORS). | 1 |
ConfigInterface:: |
public | function | Gets JPEG quality in percents as image optimization option. | 1 |
ConfigInterface:: |
public | function | Gets maximum image height for resizing. | 1 |
ConfigInterface:: |
public | function | Gets maximum image width for resizing. | 1 |
ConfigInterface:: |
public | function | Gets maximum size of uploading file in bytes. | 1 |
ConfigInterface:: |
public | function | Gets a list of hosts a relocation is allowed from. | 1 |
ConfigInterface:: |
public | function | Gets a path to temporary directory. | 1 |
ConfigInterface:: |
public | function | Is testing allowed, do not turn on on production. | 1 |
ConfigInterface:: |
public | function | Sets a test config. | 1 |