Search for filesize

  1. Search 7.x for filesize
  2. Search 8.9.x for filesize
  3. Search 10.3.x for filesize
  4. Search 11.x for filesize
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
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.

All search results

Title Object type File name Summary
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.
FileEntityFormatterTest::testFormatterFileSize function core/modules/file/tests/src/Kernel/Formatter/FileEntityFormatterTest.php Tests the file_size field formatter.
FileFieldWidgetTest::testMaximumUploadFileSizeValidation function core/modules/file/tests/src/Functional/FileFieldWidgetTest.php Tests maximum upload file size validation.
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.
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.
FormBuilderTest::testExceededFileSize function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php @covers ::buildForm
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.
ImageInterface::getFileSize function core/lib/Drupal/Core/Image/ImageInterface.php Returns the size of the image file.
ImageTest::testGetFileSize function core/tests/Drupal/Tests/Core/Image/ImageTest.php Tests \Drupal\Core\Image\Image::getFileSize.
ImageUploadTest::testFileUploadLargerFileSize function core/modules/ckeditor5/tests/src/Functional/ImageUploadTest.php Tests using the file upload route with a file size larger than allowed.
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.

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