protected function getPromptText()
    {
        if ($this->prompt === null) {
            $isMulti = ends_with($this->getDisplayMode(), 'multi');
            $this->prompt = $isMulti
                ? 'backend::lang.fileupload.upload_file'
                : 'backend::lang.fileupload.default_prompt';
        }

        return str_replace('%s', '<i class="icon-upload"></i>', e(trans($this->prompt)));
    }
protected function getPromptText()
    {
        if ($this->prompt === null) {
            $isMulti = ends_with($this->getDisplayMode(), 'multi');
            $this->prompt = $isMulti
                ? 'backend::lang.fileupload.upload_file'
                : 'backend::lang.fileupload.default_prompt';
        }

        return str_replace('%s', '<i class="icon-upload"></i>', e(trans($this->prompt)));
    }
protected function getPromptText ( ) { if ( $ this -> prompt === null ) { $ isMulti = ends_with ( $ this -> getDisplayMode ( ) , 'multi' ) ; $ this -> prompt = $ isMulti ? 'backend::lang.fileupload.upload_file' : 'backend::lang.fileupload.default_prompt' ; } return str_replace ( '%s' , '<i class="icon-upload"></i>' , e ( trans ( $ this -> prompt ) ) ) ; }
Returns the escaped and translated prompt text to display according to the type.
@return string
Returns the escaped and translated prompt text to display according to the type .