You are here

12 calls to Bytes::toNumber() in Drupal 9

Bytes::toInt in core/lib/Drupal/Component/Utility/Bytes.php
Parses a given byte size.
BytesTest::testToNumber in core/tests/Drupal/Tests/Component/Utility/BytesTest.php
Tests \Drupal\Component\Utility\Bytes::toNumber().
color_scheme_form_submit in core/modules/color/color.module
Form submission handler for color_scheme_form().
EditorImageDialog::buildForm in core/modules/editor/src/Form/EditorImageDialog.php
Environment::checkMemoryLimit in core/lib/Drupal/Component/Utility/Environment.php
Compares the memory required for an operation to the available memory.
Environment::getUploadMaxSize in core/lib/Drupal/Component/Utility/Environment.php
Determines the maximum file upload size by querying the PHP settings.
FileItem::getUploadValidators in core/modules/file/src/Plugin/Field/FieldType/FileItem.php
Retrieves the upload validators for a file field.
FileUploadResource::getUploadValidators in core/modules/file/src/Plugin/rest/resource/FileUploadResource.php
Retrieves the upload validators for a field definition.
MaximumFileSizeExceededUploadTest::testUploadFileExceedingMaximumFileSize in core/modules/file/tests/src/FunctionalJavascript/MaximumFileSizeExceededUploadTest.php
Tests that uploading files exceeding maximum size are handled correctly.
MigrateExecutable::__construct in core/modules/migrate/src/MigrateExecutable.php
Constructs a MigrateExecutable and verifies and sets the memory limit.
system_requirements in core/modules/system/system.install
Implements hook_requirements().
TemporaryJsonapiFileFieldUploader::getUploadValidators in core/modules/jsonapi/src/Controller/TemporaryJsonapiFileFieldUploader.php
Retrieves the upload validators for a field definition.