Source of file UploadExtension.php
Size: 0,407 Bytes - Last Modified: 2021-12-23T10:28:12+00:00
/var/www/docs.ssmods.com/process/src/src/Symbiote/ContentServiceAssets/UploadExtension.php
123456789101112131415161718 | <?php namespace Symbiote\ContentServiceAssets; use File; /** * Saves files to the configured content service when uploaded. */ class UploadExtension extends \Extension { // public function onAfterUpload(File $file) { // $file->uploadToContentService(); // // force the write because the content field update doesn't appear to get captured for some // // unknown reason :( // $file->write(); // } } |