Search for file

  1. Search 7.x for file
  2. Search 9.5.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
file_validate_name_length function core/modules/file/file.module Checks for files with names longer than can be stored in the database.
file_validate_size function core/modules/file/file.module Checks that the file's size is below certain limits.
file_valid_uri function core/includes/file.inc Determines whether the URI has a valid scheme for file API operations.
FILE_WRITABLE constant core/includes/install.inc File permission check -- File is writable.
FilterHtmlUpdateTest::setDatabaseDumpFiles function core/modules/system/tests/src/Functional/Update/FilterHtmlUpdateTest.php Set database dump files to be used.
FinalExceptionSubscriber::simplifyFileInError function core/lib/Drupal/Core/EventSubscriber/FinalExceptionSubscriber.php Attempts to reduce error verbosity in the error message's file path.
FollowUpMigrationsTest::getFileMigrationInfo function core/modules/migrate_drupal/tests/src/Kernel/d7/FollowUpMigrationsTest.php Returns information about the file to be migrated.
form--managed-file.css file core/themes/claro/css/components/form--managed-file.css Styles for the managed file widget.
form--managed-file.pcss.css file core/themes/claro/css/components/form--managed-file.pcss.css Styles for the managed file widget.
FormBuilder::getFileUploadMaxSize function core/lib/Drupal/Core/Form/FormBuilder.php Wraps file_upload_max_size().
FormBuilderTest::testExceededFileSize function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php @covers ::buildForm
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 enable.
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 If TRUE, there is a file element and Form API will set the appropriate
'enctype' HTML attribute on the form.
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.
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.

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