Search for file

  1. Search 7.x for file
  2. Search 9.5.x for file
  3. Search 8.9.x for file
  4. Search 11.x for file
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
File class core/modules/media/src/Plugin/media/Source/File.php File entity media source.
File class core/modules/file/src/Entity/File.php Defines the file entity class.
File class core/modules/file/src/Plugin/views/field/File.php Field handler to provide simple renderer that allows linking to a file.
File class core/modules/file/src/Plugin/views/wizard/File.php Tests creating managed files views with the wizard.
File class core/modules/file/src/Plugin/migrate/source/d6/File.php Drupal 6 file source from database.
File class core/modules/file/src/Plugin/migrate/source/d7/File.php Drupal 7 file source from database.
File class core/lib/Drupal/Core/Render/Element/File.php Provides a form element for uploading a file.

All search results

Title Object type File name Summary
FileUploadResult::$originalFilename property core/modules/file/src/Upload/FileUploadResult.php The original filename.
FileUploadResult::$sanitizedFilename property core/modules/file/src/Upload/FileUploadResult.php The sanitized filename.
FileUploadResult::$securityRename property core/modules/file/src/Upload/FileUploadResult.php If the filename was renamed for security reasons.
FileUploadResult::$violations property core/modules/file/src/Upload/FileUploadResult.php The constraint violations.
FileUploadResult::addViolation function core/modules/file/src/Upload/FileUploadResult.php Adds a constraint violation.
FileUploadResult::addViolations function core/modules/file/src/Upload/FileUploadResult.php Adds constraint violations.
FileUploadResult::getFile function core/modules/file/src/Upload/FileUploadResult.php Gets the File entity.
FileUploadResult::getOriginalFilename function core/modules/file/src/Upload/FileUploadResult.php Gets the original filename.
FileUploadResult::getSanitizedFilename function core/modules/file/src/Upload/FileUploadResult.php Gets the sanitized filename.
FileUploadResult::getViolations function core/modules/file/src/Upload/FileUploadResult.php Gets the constraint violations.
FileUploadResult::hasViolations function core/modules/file/src/Upload/FileUploadResult.php Returns TRUE if there are constraint violations.
FileUploadResult::isRenamed function core/modules/file/src/Upload/FileUploadResult.php Returns if there was a file rename.
FileUploadResult::isSecurityRename function core/modules/file/src/Upload/FileUploadResult.php Returns if there was a security rename.
FileUploadResult::setFile function core/modules/file/src/Upload/FileUploadResult.php Sets the File entity.
FileUploadResult::setOriginalFilename function core/modules/file/src/Upload/FileUploadResult.php Sets the original filename.
FileUploadResult::setSanitizedFilename function core/modules/file/src/Upload/FileUploadResult.php Sets the sanitized filename.
FileUploadResult::setSecurityRename function core/modules/file/src/Upload/FileUploadResult.php Flags the result as having had a security rename.
FileUploadResult::__construct function core/modules/file/src/Upload/FileUploadResult.php Creates a new FileUploadResult.
FileUploadSanitizeNameEvent class core/lib/Drupal/Core/File/Event/FileUploadSanitizeNameEvent.php An event during file upload that lets subscribers sanitize the filename.
FileUploadSanitizeNameEvent.php file core/lib/Drupal/Core/File/Event/FileUploadSanitizeNameEvent.php
FileUploadSanitizeNameEvent::$allowedExtensions property core/lib/Drupal/Core/File/Event/FileUploadSanitizeNameEvent.php A list of allowed extensions.
FileUploadSanitizeNameEvent::$filename property core/lib/Drupal/Core/File/Event/FileUploadSanitizeNameEvent.php The name of the file being uploaded.
FileUploadSanitizeNameEvent::$isSecurityRename property core/lib/Drupal/Core/File/Event/FileUploadSanitizeNameEvent.php Indicates the filename has changed for security reasons.
FileUploadSanitizeNameEvent::getAllowedExtensions function core/lib/Drupal/Core/File/Event/FileUploadSanitizeNameEvent.php Gets the list of allowed extensions.
FileUploadSanitizeNameEvent::getFilename function core/lib/Drupal/Core/File/Event/FileUploadSanitizeNameEvent.php Gets the filename.
FileUploadSanitizeNameEvent::isSecurityRename function core/lib/Drupal/Core/File/Event/FileUploadSanitizeNameEvent.php Gets the security rename flag.
FileUploadSanitizeNameEvent::setFilename function core/lib/Drupal/Core/File/Event/FileUploadSanitizeNameEvent.php Sets the filename.
FileUploadSanitizeNameEvent::setSecurityRename function core/lib/Drupal/Core/File/Event/FileUploadSanitizeNameEvent.php Sets the security rename flag.
FileUploadSanitizeNameEvent::stopPropagation function core/lib/Drupal/Core/File/Event/FileUploadSanitizeNameEvent.php
FileUploadSanitizeNameEvent::__construct function core/lib/Drupal/Core/File/Event/FileUploadSanitizeNameEvent.php Constructs a file upload sanitize name event object.
FileUploadSanitizeNameEventTest class core/tests/Drupal/Tests/Core/File/FileUploadSanitizeNameEventTest.php FileUploadSanitizeNameEvent tests.
FileUploadSanitizeNameEventTest.php file core/tests/Drupal/Tests/Core/File/FileUploadSanitizeNameEventTest.php
FileUploadSanitizeNameEventTest::provideFilenames function core/tests/Drupal/Tests/Core/File/FileUploadSanitizeNameEventTest.php Provides data for testEventFilenameFunctions().
FileUploadSanitizeNameEventTest::testAllowedExtensions function core/tests/Drupal/Tests/Core/File/FileUploadSanitizeNameEventTest.php @covers ::getAllowedExtensions
FileUploadSanitizeNameEventTest::testConstructorException function core/tests/Drupal/Tests/Core/File/FileUploadSanitizeNameEventTest.php @covers ::__construct
@covers ::setFilename
FileUploadSanitizeNameEventTest::testEventFilenameFunctions function core/tests/Drupal/Tests/Core/File/FileUploadSanitizeNameEventTest.php Test event construction.
FileUploadSanitizeNameEventTest::testSetFilename function core/tests/Drupal/Tests/Core/File/FileUploadSanitizeNameEventTest.php @covers ::setFilename
@covers ::getFilename
FileUploadSanitizeNameEventTest::testSetFilenameException function core/tests/Drupal/Tests/Core/File/FileUploadSanitizeNameEventTest.php @covers ::setFilename
FileUploadSanitizeNameEventTest::testStopPropagation function core/tests/Drupal/Tests/Core/File/FileUploadSanitizeNameEventTest.php @covers ::stopPropagation
FileUploadTest class core/modules/jsonapi/tests/src/Kernel/Controller/FileUploadTest.php @coversDefaultClass \Drupal\jsonapi\Controller\FileUpload
@group jsonapi
FileUploadTest class core/modules/jsonapi/tests/src/Functional/FileUploadTest.php Tests binary data file upload route.
FileUploadTest.php file core/modules/jsonapi/tests/src/Functional/FileUploadTest.php
FileUploadTest.php file core/modules/jsonapi/tests/src/Kernel/Controller/FileUploadTest.php
FileUploadTest::$defaultTheme property core/modules/jsonapi/tests/src/Functional/FileUploadTest.php The theme to install as the default for testing.
FileUploadTest::$entity property core/modules/jsonapi/tests/src/Functional/FileUploadTest.php The parent entity.
FileUploadTest::$entityTypeId property core/modules/jsonapi/tests/src/Functional/FileUploadTest.php
FileUploadTest::$field property core/modules/jsonapi/tests/src/Functional/FileUploadTest.php The field config.
FileUploadTest::$fieldStorage property core/modules/jsonapi/tests/src/Functional/FileUploadTest.php The test field storage config.
FileUploadTest::$file property core/modules/jsonapi/tests/src/Functional/FileUploadTest.php Created file entity.
FileUploadTest::$fileStorage property core/modules/jsonapi/tests/src/Functional/FileUploadTest.php The entity storage for the 'file' entity type.

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