Issue #3178225 by Liam Morland, FMB, smustgrave, joachim: Make @todo for file_save_upload() refer to the correct issue
parent
5067812f07
commit
b6b1fb1ea4
|
@ -608,8 +608,6 @@ function _file_save_upload_from_form(array $element, FormStateInterface $form_st
|
||||||
* there was an error. Function returns NULL if no file was uploaded.
|
* there was an error. Function returns NULL if no file was uploaded.
|
||||||
*
|
*
|
||||||
* @see _file_save_upload_from_form()
|
* @see _file_save_upload_from_form()
|
||||||
*
|
|
||||||
* @todo: move this logic to a service in https://www.drupal.org/node/2244513.
|
|
||||||
*/
|
*/
|
||||||
function file_save_upload($form_field_name, $validators = [], $destination = FALSE, $delta = NULL, $replace = FileSystemInterface::EXISTS_RENAME) {
|
function file_save_upload($form_field_name, $validators = [], $destination = FALSE, $delta = NULL, $replace = FileSystemInterface::EXISTS_RENAME) {
|
||||||
static $upload_cache;
|
static $upload_cache;
|
||||||
|
|
Loading…
Reference in New Issue