You are here

21 calls to format_size() in Drupal 8

color_scheme_form_submit in core/modules/color/color.module
Form submission handler for color_scheme_form().
editor_image_upload_settings_form in core/modules/editor/editor.admin.inc
Subform constructor to configure the text editor's image upload settings.
FileFieldValidateTest::testFileMaxSize in core/modules/file/tests/src/Functional/FileFieldValidateTest.php
Tests the max file size validator.
FileItem::fieldSettingsForm in core/modules/file/src/Plugin/Field/FieldType/FileItem.php
Returns a form for the field-level settings.
FileModuleTest::testFileSaveUploadSingleErrorFormSize in core/modules/file/tests/src/Kernel/FileModuleTest.php
Tests file size upload errors.
FileSize::render in core/modules/views/src/Plugin/views/field/FileSize.php
Renders the field.
FileSize::viewElements in core/modules/file/src/Plugin/Field/FieldFormatter/FileSize.php
Builds a renderable array for a field value.
FileTokenReplaceTest::testFileTokenReplacement in core/modules/file/tests/src/Functional/FileTokenReplaceTest.php
Creates a file, then tests the tokens generated from it.
FileWidgetAjaxController::progress in core/modules/file/src/Controller/FileWidgetAjaxController.php
Returns the progress status for a file upload process.
file_tokens in core/modules/file/file.module
Implements hook_tokens().
file_validate_size in core/modules/file/file.module
Checks that the file's size is below certain limits.
FormAjaxSubscriber::formatSize in core/lib/Drupal/Core/Form/EventSubscriber/FormAjaxSubscriber.php
Wraps format_size()
MigrateExecutable::formatSize in core/modules/migrate/src/MigrateExecutable.php
Generates a string representation for the given byte count.
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().
system_requirements in core/modules/system/system.install
Implements hook_requirements().
TableFormatter::viewElements in core/modules/file/src/Plugin/Field/FieldFormatter/TableFormatter.php
Builds a renderable array for a field value.
template_preprocess_file_link in core/modules/file/file.module
Prepares variables for file link templates.
template_preprocess_file_upload_help in core/modules/file/file.field.inc
Prepares variables for file upload help text templates.
WebTestBase::curlExec in core/modules/simpletest/src/WebTestBase.php
Initializes and executes a cURL request.
_file_save_upload_single in core/modules/file/file.module
Saves a file upload to a new location.