Search for file

  1. Search 7.x for file
  2. Search 8.9.x for file
  3. Search 10.3.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
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::__construct function core/modules/file/src/Upload/FormUploadedFile.php Creates a new FormUploadedFile.
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.
GenericFileFormatter class core/modules/file/src/Plugin/Field/FieldFormatter/GenericFileFormatter.php Plugin implementation of the 'file_default' formatter.
GenericFileFormatter.php file core/modules/file/src/Plugin/Field/FieldFormatter/GenericFileFormatter.php
GenericFileFormatter::viewElements function core/modules/file/src/Plugin/Field/FieldFormatter/GenericFileFormatter.php Builds a renderable array for a field value.
GetFilenameTest class core/tests/Drupal/KernelTests/Core/Bootstrap/GetFilenameTest.php Tests that drupal_get_filename() works correctly.
GetFilenameTest.php file core/tests/Drupal/KernelTests/Core/Bootstrap/GetFilenameTest.php
GetFilenameTest::$modules property core/tests/Drupal/KernelTests/Core/Bootstrap/GetFilenameTest.php Modules to enable.
GetFilenameTest::testDrupalGetFilename function core/tests/Drupal/KernelTests/Core/Bootstrap/GetFilenameTest.php Tests drupal_get_filename() deprecation.
GetFilenameTest::testDrupalGetPath function core/tests/Drupal/KernelTests/Core/Bootstrap/GetFilenameTest.php Tests drupal_get_path() deprecation.
Gettext::fileToDatabase function core/modules/locale/src/Gettext.php Reads the given PO files into the database.
GlossaryStatusFilterTest::setDatabaseDumpFiles function core/modules/views/tests/src/Functional/Update/GlossaryStatusFilterTest.php Set database dump files to be used.
HalSettingsDeletionUpdateTest::setDatabaseDumpFiles function core/modules/hal/tests/src/Functional/Update/HalSettingsDeletionUpdateTest.php Set database dump files to be used.
Handler::getFileMappingsFromPackages function composer/Plugin/Scaffold/Handler.php Gets a consolidated list of file mappings from all allowed packages.
Handler::getPackageFileMappings function composer/Plugin/Scaffold/Handler.php Gets the array of file mappings provided by a given package.

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