Search for setFile

  1. Search 7.x for setFile
  2. Search 9.5.x for setFile
  3. Search 8.9.x for setFile
  4. Search 10.3.x for setFile
  5. Other projects
Title Object type File name Summary
BatchBuilder::setFile function core/lib/Drupal/Core/Batch/BatchBuilder.php Sets the file that contains the callback functions.
BatchBuilderTest::testSetFile function core/tests/Drupal/Tests/Core/Batch/BatchBuilderTest.php Tests setFile().
File::setFilename function core/modules/file/src/Entity/File.php Sets the name of the file.
File::setFileUri function core/modules/file/src/Entity/File.php Sets the URI of the file.
FileInterface::setFilename function core/modules/file/src/FileInterface.php Sets the name of the file.
FileInterface::setFileUri function core/modules/file/src/FileInterface.php Sets the URI of the file.
FileUploadResult::setFile function core/modules/file/src/Upload/FileUploadResult.php Sets the File entity.
FileUploadSanitizeNameEvent::setFilename function core/lib/Drupal/Core/File/Event/FileUploadSanitizeNameEvent.php Sets the filename.
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
TestLibraryDiscoveryParser::setFileValidUri function core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php

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