Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Bytes.php

8 calls to 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
Checks if the passed value is valid.
FileValidatorSettingsTrait::getFileUploadValidators in core/modules/file/src/Validation/FileValidatorSettingsTrait.php
Gets the upload validators for the specified settings.
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().

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal