Search for loadFile

  1. Search 7.x for loadFile
  2. Search 8.9.x for loadFile
  3. Search 10.3.x for loadFile
  4. Search 11.x for loadFile
  5. Other projects
Title Object type File name Summary
CssOptimizer::loadFile function core/lib/Drupal/Core/Asset/CssOptimizer.php Loads the stylesheet and resolves all @import commands.
DrupalSelenium2Driver::uploadFileAndGetRemoteFilePath function core/tests/Drupal/FunctionalJavascriptTests/DrupalSelenium2Driver.php Uploads a file to the Selenium instance and returns the remote path.
FileFieldWidgetTest::testMaximumUploadFileSizeValidation function core/modules/file/tests/src/Functional/FileFieldWidgetTest.php Tests maximum upload file size validation.
GenerateAutoloadReferenceFile::autoloadFileCommitted function composer/Plugin/Scaffold/GenerateAutoloadReferenceFile.php Determines whether or not the autoload file has been committed.
ImageUploadTest::testUploadFileExtension function core/modules/ckeditor5/tests/src/Functional/ImageUploadTest.php Tests using the file upload route with a disallowed extension.
MaximumFileSizeExceededUploadTest::testUploadFileExceedingMaximumFileSize function core/modules/file/tests/src/FunctionalJavascript/MaximumFileSizeExceededUploadTest.php Tests that uploading files exceeding maximum size are handled correctly.
MediaResourceTestBase::uploadFile function core/modules/media/tests/src/Functional/Rest/MediaResourceTestBase.php Tests the 'file_upload' REST resource plugin.
ScaffoldTest::assertAutoloadFileCorrect function core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ScaffoldTest.php Assert that the autoload file was scaffolded and contains correct path.
YamlFileLoader::loadFile function core/lib/Drupal/Core/DependencyInjection/YamlFileLoader.php Loads a YAML file.

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