Search for filesize
- Search 7.x for filesize
- Search 9.5.x for filesize
- Search 10.3.x for filesize
- Search 11.x for filesize
- Other projects
Exact matches
Title | Object type | File name | Summary |
---|---|---|---|
FileSize | class | core/ |
Formatter that shows the file size in a human readable way. |
FileSize | class | core/ |
Render a numeric value as a size. |
All search results
Title | Object type | File name | Summary |
---|---|---|---|
FieldFileSizeTest | class | core/ |
Tests the core Drupal\views\Plugin\views\field\FileSize handler. |
FieldFileSizeTest.php | file | core/ |
|
FieldFileSizeTest::$testViews | property | core/ |
Views used by this test. |
FieldFileSizeTest::dataSet | function | core/ |
Returns a very simple test dataset. |
FieldFileSizeTest::testFieldFileSize | function | core/ |
|
FieldFileSizeTest::viewsData | function | core/ |
Returns the views data definition. |
FileEntityFormatterTest::testFormatterFileSize | function | core/ |
Tests the file_size field formatter. |
FileItem::validateMaxFilesize | function | core/ |
Form API callback. |
FileSize | class | core/ |
Formatter that shows the file size in a human readable way. |
FileSize | class | core/ |
Render a numeric value as a size. |
FileSize.php | file | core/ |
|
FileSize.php | file | core/ |
|
FileSize::buildOptionsForm | function | core/ |
Default options form that provides the label widget that all fields should have. |
FileSize::defineOptions | function | core/ |
Information about options for all kinds of purposes will be held here. |
FileSize::isApplicable | function | core/ |
Returns if the formatter can be used for the provided field. |
FileSize::render | function | core/ |
Renders the field. |
FileSize::viewElements | function | core/ |
Builds a renderable array for a field value. |
FileUploadResourceTestBase::testFileUploadLargerFileSize | function | core/ |
Tests using the file upload route with a file size larger than allowed. |
FileUploadTest::testFileUploadLargerFileSize | function | core/ |
Tests using the file upload route with a file size larger than allowed. |
FormBuilderTest::testExceededFileSize | function | core/ |
@covers ::buildForm |
Image::$fileSize | property | core/ |
File size in bytes. |
Image::getFileSize | function | core/ |
Returns the size of the image file. |
ImageInterface::getFileSize | function | core/ |
Returns the size of the image file. |
ImageTest::testGetFileSize | function | core/ |
Tests \Drupal\Core\Image\Image::getFileSize |
MaximumFileSizeExceededUploadTest | class | core/ |
Tests uploading a file that exceeds the maximum file size. |
MaximumFileSizeExceededUploadTest.php | file | core/ |
|
MaximumFileSizeExceededUploadTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
MaximumFileSizeExceededUploadTest::$fileSystem | property | core/ |
The file system service. |
MaximumFileSizeExceededUploadTest::$modules | property | core/ |
Modules to enable. |
MaximumFileSizeExceededUploadTest::$originalDisplayErrorsValue | property | core/ |
The original value of the 'display_errors' PHP configuration option. |
MaximumFileSizeExceededUploadTest::$user | property | core/ |
A test user. |
MaximumFileSizeExceededUploadTest::setUp | function | core/ |
|
MaximumFileSizeExceededUploadTest::tearDown | function | core/ |
|
MaximumFileSizeExceededUploadTest::testUploadFileExceedingMaximumFileSize | function | core/ |
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.