Search for size

  1. Search 7.x for size
  2. Search 8.9.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
BrokenPostRequestException::$size property core/lib/Drupal/Core/Form/Exception/BrokenPostRequestException.php The maximum upload size.
BrokenPostRequestException::getSize function core/lib/Drupal/Core/Form/Exception/BrokenPostRequestException.php Returns the maximum upload size.
ConfigEntityUpdater::$batchSize property core/lib/Drupal/Core/Config/Entity/ConfigEntityUpdater.php The number of entities to process in each batch.
ConfigTestForm::changeSize function core/modules/config/tests/config_test/src/ConfigTestForm.php Element submit handler for non-JS testing.
ConfigTestForm::updateSize function core/modules/config/tests/config_test/src/ConfigTestForm.php Ajax callback for the size selection element.
DbDumpCommand::fieldSizeMap function core/lib/Drupal/Core/Command/DbDumpCommand.php Given a database field type, return a Drupal size.
Environment::getUploadMaxSize function core/lib/Drupal/Component/Utility/Environment.php Determines the maximum file upload size by querying the PHP settings.
FieldFileSizeTest class core/modules/views/tests/src/Kernel/Handler/FieldFileSizeTest.php Tests the core Drupal\views\Plugin\views\field\FileSize handler.
FieldFileSizeTest.php file core/modules/views/tests/src/Kernel/Handler/FieldFileSizeTest.php
FieldFileSizeTest::$testViews property core/modules/views/tests/src/Kernel/Handler/FieldFileSizeTest.php Views used by this test.
FieldFileSizeTest::dataSet function core/modules/views/tests/src/Kernel/Handler/FieldFileSizeTest.php Returns a very simple test dataset.
FieldFileSizeTest::testFieldFileSize function core/modules/views/tests/src/Kernel/Handler/FieldFileSizeTest.php
FieldFileSizeTest::viewsData function core/modules/views/tests/src/Kernel/Handler/FieldFileSizeTest.php Returns the views data definition.
FieldInstanceSettings::convertSizeUnit function core/modules/field/src/Plugin/migrate/process/d6/FieldInstanceSettings.php Convert file size strings into their D8 format.
File::getSize function core/modules/file/src/Entity/File.php Returns the size of the file.
File::METADATA_ATTRIBUTE_SIZE constant core/modules/media/src/Plugin/media/Source/File.php Key for "File size" metadata attribute.
File::setSize function core/modules/file/src/Entity/File.php Sets the size of the file.
FileEntityFormatterTest::testFormatterFileSize function core/modules/file/tests/src/Kernel/Formatter/FileEntityFormatterTest.php Tests the file_size field formatter.
FileFieldValidateTest::testFileMaxSize function core/modules/file/tests/src/Functional/FileFieldValidateTest.php Tests the max file size validator.
FileFieldWidgetTest::testMaximumUploadFileSizeValidation function core/modules/file/tests/src/Functional/FileFieldWidgetTest.php Tests maximum upload file size validation.
FileInterface::getSize function core/modules/file/src/FileInterface.php Returns the size of the file.
FileInterface::setSize function core/modules/file/src/FileInterface.php Sets the size of the file.
FileItem::validateMaxFilesize function core/modules/file/src/Plugin/Field/FieldType/FileItem.php Form API callback.
FileSize class core/modules/file/src/Plugin/Field/FieldFormatter/FileSize.php Formatter that shows the file size in a human readable way.
FileSize class core/modules/views/src/Plugin/views/field/FileSize.php Render a numeric value as a size.
FileSize.php file core/modules/file/src/Plugin/Field/FieldFormatter/FileSize.php
FileSize.php file core/modules/views/src/Plugin/views/field/FileSize.php
FileSize::buildOptionsForm function core/modules/views/src/Plugin/views/field/FileSize.php Default option form that provides label widget that all fields should have.
FileSize::defineOptions function core/modules/views/src/Plugin/views/field/FileSize.php Information about options for all kinds of purposes will be held here.
FileSize::isApplicable function core/modules/file/src/Plugin/Field/FieldFormatter/FileSize.php Returns if the formatter can be used for the provided field.
FileSize::render function core/modules/views/src/Plugin/views/field/FileSize.php Renders the field.
FileSize::viewElements function core/modules/file/src/Plugin/Field/FieldFormatter/FileSize.php Builds a renderable array for a field value.
FileUploadHandlerTest::testFileSaveUploadSingleErrorFormSize function core/modules/file/tests/src/Kernel/FileUploadHandlerTest.php Tests file size upload errors.
FileUploadResourceTestBase::testFileUploadLargerFileSize function core/modules/rest/tests/src/Functional/FileUploadResourceTestBase.php Tests using the file upload route with a file size larger than allowed.
FileUploadTest::testFileUploadLargerFileSize function core/modules/jsonapi/tests/src/Functional/FileUploadTest.php Tests using the file upload route with a file size larger than allowed.
file_validate_size function core/modules/file/file.module Checks that the file's size is below certain limits.
FormAjaxSubscriber::formatSize function core/lib/Drupal/Core/Form/EventSubscriber/FormAjaxSubscriber.php Wraps format_size()
format_size function core/includes/common.inc Generates a string representation for the given byte count.
FormBuilder::getFileUploadMaxSize function core/lib/Drupal/Core/Form/FormBuilder.php Wraps file_upload_max_size().
FormBuilderTest::testExceededFileSize function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php @covers ::buildForm
FormUploadedFile::getSize function core/modules/file/src/Upload/FormUploadedFile.php Gets file size.
image-resize-summary.html.twig file core/themes/stable9/templates/admin/image-resize-summary.html.twig Theme override for a summary of an image resize effect.
image-resize-summary.html.twig file core/themes/stable/templates/admin/image-resize-summary.html.twig Theme override for a summary of an image resize effect.
image-resize-summary.html.twig file core/modules/image/templates/image-resize-summary.html.twig Default theme implementation for a summary of an image resize effect.
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/Kernel/ImageEffectsTest.php Tests the 'image_resize' effect.
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).

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