Issue #3397575 by kim.pepper, sourabhjain, alexpott, longwave: Deprecate...
Issue #3397575 by kim.pepper, sourabhjain, alexpott, longwave: Deprecate file_progress_implementation() and replace with extension_loaded('uploadprogress')
$description=t('Your server is capable of displaying file upload progress, but does not have the required libraries. It is recommended to install the <a href="http://pecl.php.net/package/uploadprogress">PECL uploadprogress library</a>.');
}
// Adjust the requirement depending on what the server supports.
if(!$is_apache&&!$is_nginx){
$value=t('Not enabled');
$description=t('Your server is not capable of displaying file upload progress. File upload progress requires an Apache server running PHP with mod_php or Nginx with PHP-FPM.');
@@ -98,19 +95,12 @@ function file_requirements($phase) {
$value=t('Not enabled');
$description=t('Your server is not capable of displaying file upload progress. File upload progress requires PHP be run with mod_php or PHP-FPM and not as FastCGI.');
}
elseif(!$implementation){
$value=t('Not enabled');
$description=t('Your server is capable of displaying file upload progress, but does not have the required libraries. It is recommended to install the <a href="http://pecl.php.net/package/uploadprogress">PECL uploadprogress library</a>.');
* A string indicating which upload progress system is available. Either "apc"
* or "uploadprogress". If neither are available, returns FALSE.
*
* @deprecated in drupal:10.3.0 and is removed from drupal:11.0.0. Use
* extension_loaded('uploadprogress') instead.
*
* @see https://www.drupal.org/node/3397577
*/
functionfile_progress_implementation(){
@trigger_error(__FUNCTION__.'() is deprecated in drupal:10.3.0 and is removed from drupal:11.0.0. Use extension_loaded(\'uploadprogress\') instead. See https://www.drupal.org/node/3397577',E_USER_DEPRECATED);
'#description'=>$this->t('The throbber display does not show the status of uploads but takes up less space. The progress bar is helpful for monitoring progress on large uploads.'),