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
FormCacheTest::testLoadCachedFormStateWithFiles function core/tests/Drupal/Tests/Core/Form/FormCacheTest.php @covers ::loadCachedFormState
FormErrorHandlerFileUploadTest class core/modules/inline_form_errors/tests/src/Functional/FormErrorHandlerFileUploadTest.php Tests file upload scenario's with Inline Form Errors.
FormErrorHandlerFileUploadTest.php file core/modules/inline_form_errors/tests/src/Functional/FormErrorHandlerFileUploadTest.php
FormErrorHandlerFileUploadTest::$defaultTheme property core/modules/inline_form_errors/tests/src/Functional/FormErrorHandlerFileUploadTest.php The theme to install as the default for testing.
FormErrorHandlerFileUploadTest::$modules property core/modules/inline_form_errors/tests/src/Functional/FormErrorHandlerFileUploadTest.php Modules to install.
FormErrorHandlerFileUploadTest::setUp function core/modules/inline_form_errors/tests/src/Functional/FormErrorHandlerFileUploadTest.php
FormErrorHandlerFileUploadTest::testFileUploadErrors function core/modules/inline_form_errors/tests/src/Functional/FormErrorHandlerFileUploadTest.php Tests that the required field error is displayed as inline error message.
FormState::$has_file_element property core/lib/Drupal/Core/Form/FormState.php
FormState::hasFileElement function core/lib/Drupal/Core/Form/FormState.php Returns whether this form has a file element.
FormState::setHasFileElement function core/lib/Drupal/Core/Form/FormState.php Sets that this form has a file element.
FormStateDecoratorBase::hasFileElement function core/lib/Drupal/Core/Form/FormStateDecoratorBase.php Returns whether this form has a file element.
FormStateDecoratorBase::setHasFileElement function core/lib/Drupal/Core/Form/FormStateDecoratorBase.php Sets that this form has a file element.
FormStateDecoratorBaseTest::testHasFileElement function core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php @covers ::hasFileElement
FormStateDecoratorBaseTest::testSetHasFileElement function core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php @covers ::setHasFileElement
FormStateInterface::hasFileElement function core/lib/Drupal/Core/Form/FormStateInterface.php Returns whether this form has a file element.
FormStateInterface::setHasFileElement function core/lib/Drupal/Core/Form/FormStateInterface.php Sets that this form has a file element.
FormTestFileForm class core/modules/system/tests/modules/form_test/src/Form/FormTestFileForm.php Form constructor for testing #type 'file' elements.
FormTestFileForm.php file core/modules/system/tests/modules/form_test/src/Form/FormTestFileForm.php
FormTestFileForm::buildForm function core/modules/system/tests/modules/form_test/src/Form/FormTestFileForm.php Form constructor.
FormTestFileForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestFileForm.php Returns a unique string identifying the form.
FormTestFileForm::submitForm function core/modules/system/tests/modules/form_test/src/Form/FormTestFileForm.php Form submission handler.
FormUploadedFile class core/modules/file/src/Upload/FormUploadedFile.php Provides a bridge to Symfony UploadedFile.
FormUploadedFile.php file core/modules/file/src/Upload/FormUploadedFile.php
FormUploadedFile::$uploadedFile property core/modules/file/src/Upload/FormUploadedFile.php The wrapped uploaded file.
FormUploadedFile::getClientOriginalName function core/modules/file/src/Upload/FormUploadedFile.php Returns the original file name.
FormUploadedFile::getError function core/modules/file/src/Upload/FormUploadedFile.php Returns the upload error code.
FormUploadedFile::getErrorMessage function core/modules/file/src/Upload/FormUploadedFile.php Returns an informative upload error message.
FormUploadedFile::getFilename function core/modules/file/src/Upload/FormUploadedFile.php Gets the filename.
FormUploadedFile::getPathname function core/modules/file/src/Upload/FormUploadedFile.php Gets the path to the file.
FormUploadedFile::getRealPath function core/modules/file/src/Upload/FormUploadedFile.php Gets the absolute path to the file.
FormUploadedFile::getSize function core/modules/file/src/Upload/FormUploadedFile.php Gets file size.
FormUploadedFile::isValid function core/modules/file/src/Upload/FormUploadedFile.php Returns whether the file was uploaded successfully.
FormUploadedFile::validate function core/modules/file/src/Upload/FormUploadedFile.php Validates the uploaded file information.
FormUploadedFile::__construct function core/modules/file/src/Upload/FormUploadedFile.php Creates a new FormUploadedFile.
ForumIndexUpdateTest::setDatabaseDumpFiles function core/modules/forum/tests/src/Functional/ForumIndexUpdateTest.php Set database dump files to be used.
FTPExtension::copyFileJailed function core/lib/Drupal/Core/FileTransfer/FTPExtension.php Copies a file.
FTPExtension::isFile function core/lib/Drupal/Core/FileTransfer/FTPExtension.php Checks if a particular path is a file (not a directory).
FTPExtension::removeFileJailed function core/lib/Drupal/Core/FileTransfer/FTPExtension.php Removes a file.
GDToolkit::$fileSystem property core/modules/system/src/Plugin/ImageToolkit/GDToolkit.php The file system.
GDToolkit::parseFile function core/modules/system/src/Plugin/ImageToolkit/GDToolkit.php Determines if a file contains a valid image.
GenerateAutoloadReferenceFile class composer/Plugin/Scaffold/GenerateAutoloadReferenceFile.php Generates an 'autoload.php' that includes the autoloader created by Composer.
GenerateAutoloadReferenceFile.php file composer/Plugin/Scaffold/GenerateAutoloadReferenceFile.php
GenerateAutoloadReferenceFile::autoLoadContents function composer/Plugin/Scaffold/GenerateAutoloadReferenceFile.php Builds the contents of the autoload file.
GenerateAutoloadReferenceFile::autoloadFileCommitted function composer/Plugin/Scaffold/GenerateAutoloadReferenceFile.php Determines whether or not the autoload file has been committed.
GenerateAutoloadReferenceFile::autoloadPath function composer/Plugin/Scaffold/GenerateAutoloadReferenceFile.php Generates a scaffold file path object for the autoload file.
GenerateAutoloadReferenceFile::generateAutoload function composer/Plugin/Scaffold/GenerateAutoloadReferenceFile.php Generates the autoload file at the specified location.
GenerateAutoloadReferenceFile::__construct function composer/Plugin/Scaffold/GenerateAutoloadReferenceFile.php This class provides only static methods.
GenerateTheme::createFilesFinder function core/lib/Drupal/Core/Command/GenerateTheme.php
GenerateThemeTest::testIncludeDotFiles function core/tests/Drupal/BuildTests/Command/GenerateThemeTest.php
GenerateThemeTest::testNoEditMissingFilesWarning function core/tests/Drupal/BuildTests/Command/GenerateThemeTest.php

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