MediaUploader |
class |
src/MediaUploader.php |
Upload files from Gutenberg editor upload method. |
MediaUploader.php |
file |
src/MediaUploader.php |
|
MediaUploader::upload |
function |
src/MediaUploader.php |
Upload media to the filesystem. |
MediaController::load |
function |
src/Controller/MediaController.php |
Get data of the media entity required for Gutenberg editor. |
MediaUploaderInterface |
interface |
src/MediaUploaderInterface.php |
Provides media upload for Gutenberg editor. |
MediaController::upload |
function |
src/Controller/MediaController.php |
Upload files, save as file and media entity if possible. |
gutenberg.media_uploader |
service |
./gutenberg.services.yml |
Drupal\gutenberg\MediaUploader |
MediaUploader::$fileSystem |
property |
src/MediaUploader.php |
The file system service. |
MediaUploader::__construct |
function |
src/MediaUploader.php |
MediaUploader constructor. |
BlocksController::loadById |
function |
src/Controller/BlocksController.php |
Returns JSON representing the loaded blocks. |
MediaController::loadMedia |
function |
src/Controller/MediaController.php |
Load media data. |
MediaService::loadFileData |
function |
src/Service/MediaService.php |
Load file entity data. |
MediaUploaderInterface.php |
file |
src/MediaUploaderInterface.php |
|
MediaService::loadMediaData |
function |
src/Service/MediaService.php |
Load media entity data. |
BlocksController::loadByType |
function |
src/Controller/BlocksController.php |
Returns JSON representing the loaded blocks. |
MediaService::$mediaUploader |
property |
src/Service/MediaService.php |
The media uploader. |
CloudBlockManager::loadRemote |
function |
modules/gutenberg_cloud/src/CloudBlockManager.php |
Load single block from cloud. |
MediaUploaderInterface::upload |
function |
src/MediaUploaderInterface.php |
Upload media to the filesystem. |
ReusableBlocksController::load |
function |
src/Controller/ReusableBlocksController.php |
Returns JSON representing the loaded blocks. |
MediaUploader::getRandomFileName |
function |
src/MediaUploader.php |
Generate random file name. |
CloudBlockManager::loadAllFromRemote |
function |
modules/gutenberg_cloud/src/CloudBlockManager.php |
Load available blocks from Gutenberg API. |
CloudBlockManager::loadInstalledBlocks |
function |
modules/gutenberg_cloud/src/CloudBlockManager.php |
Load installed blocks, saved in the config. |
MediaService::processMediaEntityUpload |
function |
src/Service/MediaService.php |
Save uploaded file, create file and media entity if possible. |
DrupalImage::validateImageUploadSettings |
function |
src/Plugin/GutenbergPlugin/DrupalImage.php |
Handler #element_validate for the "image_upload" element in settingsForm(). |