11 calls to Bytes::toNumber()
- BytesTest::testToNumber in core/
tests/ Drupal/ Tests/ Component/ Utility/ BytesTest.php - Tests \Drupal\Component\Utility\Bytes::toNumber().
- CKEditor5ImageController::getImageUploadValidators in core/
modules/ ckeditor5/ src/ Controller/ CKEditor5ImageController.php - Gets the image upload validators.
- DiskSpaceValidator::validate in core/
modules/ package_manager/ src/ Validator/ DiskSpaceValidator.php - Validates that there is enough free disk space to do stage operations.
- 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.
- FileValidationConstraintValidator::validate in core/
modules/ file/ src/ Plugin/ Validation/ Constraint/ FileValidationConstraintValidator.php - FileValidatorSettingsTrait::getFileUploadValidators in core/
modules/ file/ src/ Validation/ FileValidatorSettingsTrait.php - Gets the upload validators for the specified settings.
- 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.
- StatusTest::testStatusPage in core/
modules/ system/ tests/ src/ Functional/ System/ StatusTest.php - Tests that the status page returns.
- system_requirements in core/
modules/ system/ system.install - Implements hook_requirements().
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.