Search for size

  1. Search 7.x for size
  2. Search 9.5.x for size
  3. Search 10.3.x for size
  4. Search 11.x for size
  5. Other projects
Title Object type File name Summary
Image::$fileSize property core/lib/Drupal/Core/Image/Image.php File size in bytes.
Image::getFileSize function core/lib/Drupal/Core/Image/Image.php Returns the size of the image file.
Image::resize function core/lib/Drupal/Core/Image/Image.php Resizes an image to the given dimensions (ignoring aspect ratio).
ImageEffectsTest::testResizeEffect function core/modules/image/tests/src/Functional/ImageEffectsTest.php Test the image_resize_effect() function.
ImageInterface::getFileSize function core/lib/Drupal/Core/Image/ImageInterface.php Returns the size of the image file.
ImageInterface::resize function core/lib/Drupal/Core/Image/ImageInterface.php Resizes an image to the given dimensions (ignoring aspect ratio).
ImageTest::testFloatResize function core/tests/Drupal/Tests/Core/Image/ImageTest.php Tests \Drupal\Core\Image\Image::resize().
ImageTest::testGetFileSize function core/tests/Drupal/Tests/Core/Image/ImageTest.php Tests \Drupal\Core\Image\Image::getFileSize
ImageTest::testResize function core/tests/Drupal/Tests/Core/Image/ImageTest.php Tests \Drupal\Core\Image\Image::resize().
ImageTest::testThemeImageWithSizes function core/tests/Drupal/KernelTests/Core/Theme/ImageTest.php Tests that an image with the sizes attribute is output correctly.
LegacyLibraryDiscoveryTest::testJqueryUiEffectsSize function core/tests/Drupal/KernelTests/Core/Asset/LegacyLibraryDiscoveryTest.php Tests that the jquery.ui.effects.size library is deprecated.
MaximumFileSizeExceededUploadTest class core/modules/file/tests/src/FunctionalJavascript/MaximumFileSizeExceededUploadTest.php Tests uploading a file that exceeds the maximum file size.
MaximumFileSizeExceededUploadTest.php file core/modules/file/tests/src/FunctionalJavascript/MaximumFileSizeExceededUploadTest.php
MaximumFileSizeExceededUploadTest::$defaultTheme property core/modules/file/tests/src/FunctionalJavascript/MaximumFileSizeExceededUploadTest.php The theme to install as the default for testing.
MaximumFileSizeExceededUploadTest::$fileSystem property core/modules/file/tests/src/FunctionalJavascript/MaximumFileSizeExceededUploadTest.php The file system service.
MaximumFileSizeExceededUploadTest::$modules property core/modules/file/tests/src/FunctionalJavascript/MaximumFileSizeExceededUploadTest.php Modules to enable.
MaximumFileSizeExceededUploadTest::$originalDisplayErrorsValue property core/modules/file/tests/src/FunctionalJavascript/MaximumFileSizeExceededUploadTest.php The original value of the 'display_errors' PHP configuration option.
MaximumFileSizeExceededUploadTest::$user property core/modules/file/tests/src/FunctionalJavascript/MaximumFileSizeExceededUploadTest.php A test user.
MaximumFileSizeExceededUploadTest::setUp function core/modules/file/tests/src/FunctionalJavascript/MaximumFileSizeExceededUploadTest.php
MaximumFileSizeExceededUploadTest::tearDown function core/modules/file/tests/src/FunctionalJavascript/MaximumFileSizeExceededUploadTest.php
MaximumFileSizeExceededUploadTest::testUploadFileExceedingMaximumFileSize function core/modules/file/tests/src/FunctionalJavascript/MaximumFileSizeExceededUploadTest.php Tests that uploading files exceeding maximum size are handled correctly.
MigrateExecutable::formatSize function core/modules/migrate/src/MigrateExecutable.php Generates a string representation for the given byte count.
OffsetPage::$size property core/modules/jsonapi/src/Query/OffsetPage.php The size of the query.
OffsetPage::getSize function core/modules/jsonapi/src/Query/OffsetPage.php Returns the page size.
OffsetPage::SIZE_KEY constant core/modules/jsonapi/src/Query/OffsetPage.php The size key in the page parameter: page[limit].
OffsetPage::SIZE_MAX constant core/modules/jsonapi/src/Query/OffsetPage.php Max size.
QueryBatchTest::testBatchSizeNegative function core/modules/migrate/tests/src/Kernel/QueryBatchTest.php Tests a negative batch size throws an exception.
QueryBatchTest::testBatchSizeNonInteger function core/modules/migrate/tests/src/Kernel/QueryBatchTest.php Tests a non integer batch size throws an exception.
Resize class core/modules/system/src/Plugin/ImageToolkit/Operation/gd/Resize.php Defines GD2 resize operation.
resize.module.css file core/themes/stable/css/system/components/resize.module.css Resizable textareas.
resize.module.css file core/modules/system/css/components/resize.module.css Resizable textareas.
Resize.php file core/modules/system/src/Plugin/ImageToolkit/Operation/gd/Resize.php
Resize::arguments function core/modules/system/src/Plugin/ImageToolkit/Operation/gd/Resize.php Returns the definition of the operation arguments.
Resize::execute function core/modules/system/src/Plugin/ImageToolkit/Operation/gd/Resize.php Performs the actual manipulation on the image.
Resize::validateArguments function core/modules/system/src/Plugin/ImageToolkit/Operation/gd/Resize.php Validates the arguments.
ResizeImageEffect class core/modules/image/src/Plugin/ImageEffect/ResizeImageEffect.php Resizes an image resource.
ResizeImageEffect.php file core/modules/image/src/Plugin/ImageEffect/ResizeImageEffect.php
ResizeImageEffect::applyEffect function core/modules/image/src/Plugin/ImageEffect/ResizeImageEffect.php Applies an image effect to the image object.
ResizeImageEffect::buildConfigurationForm function core/modules/image/src/Plugin/ImageEffect/ResizeImageEffect.php
ResizeImageEffect::defaultConfiguration function core/modules/image/src/Plugin/ImageEffect/ResizeImageEffect.php Gets default configuration for this plugin.
ResizeImageEffect::getSummary function core/modules/image/src/Plugin/ImageEffect/ResizeImageEffect.php Returns a render array summarizing the configuration of the image effect.
ResizeImageEffect::submitConfigurationForm function core/modules/image/src/Plugin/ImageEffect/ResizeImageEffect.php
ResizeImageEffect::transformDimensions function core/modules/image/src/Plugin/ImageEffect/ResizeImageEffect.php Determines the dimensions of the styled image.
SizeTest class core/tests/Drupal/KernelTests/Core/Common/SizeTest.php Parse a predefined amount of bytes and compare the output with the expected
value.
SizeTest.php file core/tests/Drupal/KernelTests/Core/Common/SizeTest.php
SizeTest::providerTestCommonFormatSize function core/tests/Drupal/KernelTests/Core/Common/SizeTest.php Provides a list of byte size to test.
SizeTest::testCommonFormatSize function core/tests/Drupal/KernelTests/Core/Common/SizeTest.php Checks that format_size() returns the expected string.
SpaceUsedTest::createFileWithSize function core/modules/file/tests/src/Kernel/SpaceUsedTest.php Creates a file with a given size.
SqlBase::$batchSize property core/modules/migrate/src/Plugin/migrate/source/SqlBase.php Number of records to fetch from the database during each batch.
TestMigrateExecutable::formatSize function core/modules/migrate/tests/src/Unit/TestMigrateExecutable.php Generates a string representation for the given byte count.

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