FormAjaxSubscriber::formatSize

protected FormAjaxSubscriber::formatSize($size)

Wraps format_size()

Return value

string The formatted size.

File

core/lib/Drupal/Core/Form/EventSubscriber/FormAjaxSubscriber.php, line 140

Class

FormAjaxSubscriber
Wraps AJAX form submissions that are triggered via an exception.

Namespace

Drupal\Core\Form\EventSubscriber

Code

protected function formatSize($size) {
  return format_size($size);
}
doc_Drupal
2016-10-29 09:15:05
Comments
Leave a Comment

Please login to continue.