#2928904 Added media target
Compare changes
+ 5
− 2
@@ -211,7 +211,7 @@ class File extends EntityReference {
@@ -211,7 +211,7 @@ class File extends EntityReference {
@@ -240,10 +240,13 @@ class File extends EntityReference {
@@ -240,10 +240,13 @@ class File extends EntityReference {
$destination = $this->token->replace($this->settings['uri_scheme'] . '://' . trim($this->settings['file_directory'], '/'));
$this->fileSystem->prepareDirectory($destination, FileSystemInterface::MODIFY_PERMISSIONS | FileSystemInterface::CREATE_DIRECTORY);