8 calls to format_size()

bartik_preprocess_image_widget in core/themes/bartik/bartik.theme
Implements hook_preprocess_image_widget().
color_scheme_form_submit in core/modules/color/color.module
Form submission handler for color_scheme_form().
FormAjaxSubscriber::formatSize in core/lib/Drupal/Core/Form/EventSubscriber/FormAjaxSubscriber.php
Wraps format_size()
LegacyFileTest::testFileSaveUploadSingleErrorFormSize in core/modules/file/tests/src/Kernel/LegacyFileTest.php
Tests file size upload errors.
seven_preprocess_image_widget in core/themes/seven/seven.theme
Implements hook_preprocess_image_widget().
SizeTest::testCommonFormatSize in core/tests/Drupal/KernelTests/Core/Common/SizeTest.php
Checks that format_size() returns the expected string.
stable_preprocess_image_widget in core/themes/stable/stable.theme
Implements hook_preprocess_image_widget().
template_preprocess_file_upload_help in core/modules/file/file.field.inc
Prepares variables for file upload help text templates.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.