12 calls to Bytes::toInt()

BytesTest::testToInt in core/tests/Drupal/Tests/Component/Utility/BytesTest.php
Tests \Drupal\Component\Utility\Bytes::toInt().
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.
FileItem::validateMaxFilesize in core/modules/file/src/Plugin/Field/FieldType/FileItem.php
Form API callback.
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.

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