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 10.3.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
ManagedFile::processManagedFile function core/modules/file/src/Element/ManagedFile.php Render API callback: Expands the managed_file element type.
ManagedFile::uploadAjaxCallback function core/modules/file/src/Element/ManagedFile.php #ajax callback for managed_file upload forms.
ManagedFile::validateManagedFile function core/modules/file/src/Element/ManagedFile.php Render API callback: Validates the managed_file element.
ManagedFile::valueCallback function core/modules/file/src/Element/ManagedFile.php Determines how user input is mapped to an element's #value property.
ManagedFileTest class core/modules/file/tests/src/Kernel/ManagedFileTest.php Managed file element test.
ManagedFileTest.php file core/modules/file/tests/src/Kernel/ManagedFileTest.php
ManagedFileTest::buildForm function core/modules/file/tests/src/Kernel/ManagedFileTest.php Form constructor.
ManagedFileTest::getFormId function core/modules/file/tests/src/Kernel/ManagedFileTest.php Returns a unique string identifying the form.
ManagedFileTest::submitForm function core/modules/file/tests/src/Kernel/ManagedFileTest.php Form submission handler.
ManagedFileTest::testManagedFileElement function core/modules/file/tests/src/Kernel/ManagedFileTest.php Tests that managed file elements can be programmatically submitted.
ManagedFileTest::validateForm function core/modules/file/tests/src/Kernel/ManagedFileTest.php Form validation handler.
ManageGitIgnoreTest::$fileSystem property core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ManageGitIgnoreTest.php The Symfony FileSystem component.
MaximumFileSizeExceededUploadTest class core/modules/file/tests/src/FunctionalJavascript/MaximumFileSizeExceededUploadTest.php Tests uploading a file that exceeds the maximum file size.
MaximumFileSizeExceededUploadTest.php file core/modules/file/tests/src/FunctionalJavascript/MaximumFileSizeExceededUploadTest.php
MaximumFileSizeExceededUploadTest::$defaultTheme property core/modules/file/tests/src/FunctionalJavascript/MaximumFileSizeExceededUploadTest.php The theme to install as the default for testing.
MaximumFileSizeExceededUploadTest::$fileSystem property core/modules/file/tests/src/FunctionalJavascript/MaximumFileSizeExceededUploadTest.php The file system service.
MaximumFileSizeExceededUploadTest::$modules property core/modules/file/tests/src/FunctionalJavascript/MaximumFileSizeExceededUploadTest.php Modules to install.
MaximumFileSizeExceededUploadTest::$originalDisplayErrorsValue property core/modules/file/tests/src/FunctionalJavascript/MaximumFileSizeExceededUploadTest.php The original value of the 'display_errors' PHP configuration option.
MaximumFileSizeExceededUploadTest::$user property core/modules/file/tests/src/FunctionalJavascript/MaximumFileSizeExceededUploadTest.php A test user.
MaximumFileSizeExceededUploadTest::setUp function core/modules/file/tests/src/FunctionalJavascript/MaximumFileSizeExceededUploadTest.php
MaximumFileSizeExceededUploadTest::tearDown function core/modules/file/tests/src/FunctionalJavascript/MaximumFileSizeExceededUploadTest.php
MaximumFileSizeExceededUploadTest::testUploadFileExceedingMaximumFileSize function core/modules/file/tests/src/FunctionalJavascript/MaximumFileSizeExceededUploadTest.php Tests that uploading files exceeding maximum size are handled correctly.
MediaEntityMetadataApiTest::$mediaFile property core/modules/ckeditor5/tests/src/Functional/MediaEntityMetadataApiTest.php The sample file media entity to use for testing.
MediaLibraryTestBase::addMediaFileToField function core/modules/media_library/tests/src/FunctionalJavascript/MediaLibraryTestBase.php Waits for a file field to exist before uploading.
MediaResourceTestBase::getExpectedNormalizedFileEntity function core/modules/media/tests/src/Functional/Rest/MediaResourceTestBase.php Gets the expected file entity.
MediaResourceTestBase::uploadFile function core/modules/media/tests/src/Functional/Rest/MediaResourceTestBase.php Tests the 'file_upload' REST resource plugin.
MediaRevisionTest::testFileMediaRevision function core/modules/media/tests/src/Functional/MediaRevisionTest.php Tests creating revisions of a File media item.
MediaSettingsDefaultIframeDomainUpdateTest::setDatabaseDumpFiles function core/modules/media/tests/src/Functional/Update/MediaSettingsDefaultIframeDomainUpdateTest.php Set database dump files to be used.
MediaSource::$default_thumbnail_filename property core/modules/media/src/Annotation/MediaSource.php A filename for the default thumbnail.
MediaSourceFileTest class core/modules/media/tests/src/FunctionalJavascript/MediaSourceFileTest.php Tests the file media source.
MediaSourceFileTest class core/modules/media/tests/src/Kernel/MediaSourceFileTest.php Tests the file media source.
MediaSourceFileTest class core/modules/media/tests/src/Functional/MediaSourceFileTest.php Tests the file media source.
MediaSourceFileTest.php file core/modules/media/tests/src/FunctionalJavascript/MediaSourceFileTest.php
MediaSourceFileTest.php file core/modules/media/tests/src/Kernel/MediaSourceFileTest.php
MediaSourceFileTest.php file core/modules/media/tests/src/Functional/MediaSourceFileTest.php
MediaSourceFileTest::$defaultTheme property core/modules/media/tests/src/FunctionalJavascript/MediaSourceFileTest.php The theme to install as the default for testing.
MediaSourceFileTest::$defaultTheme property core/modules/media/tests/src/Functional/MediaSourceFileTest.php The theme to install as the default for testing.
MediaSourceFileTest::testFileDeletion function core/modules/media/tests/src/Kernel/MediaSourceFileTest.php Tests a media file can be deleted.
MediaSourceFileTest::testFileExtensionConstraint function core/modules/media/tests/src/Kernel/MediaSourceFileTest.php Tests the file extension constraint.
MediaSourceFileTest::testMediaFileSource function core/modules/media/tests/src/FunctionalJavascript/MediaSourceFileTest.php Tests the file media source.
MediaSourceFileTest::testPreventSourceFieldDeletion function core/modules/media/tests/src/Functional/MediaSourceFileTest.php Ensure source field deletion is not possible.
MediaSourceFileTest::testSourceFieldSettingsEditing function core/modules/media/tests/src/Functional/MediaSourceFileTest.php Tests that it's possible to change the allowed file extensions.
MediaStandardProfileTest class core/modules/media/tests/src/FunctionalJavascript/MediaStandardProfileTest.php Basic tests for Media configuration in the standard profile.
MediaStandardProfileTest.php file core/modules/media/tests/src/FunctionalJavascript/MediaStandardProfileTest.php
MediaStandardProfileTest::$modules property core/modules/media/tests/src/FunctionalJavascript/MediaStandardProfileTest.php Modules to install.
MediaStandardProfileTest::$profile property core/modules/media/tests/src/FunctionalJavascript/MediaStandardProfileTest.php The profile to install as a basis for testing.
MediaStandardProfileTest::audioTest function core/modules/media/tests/src/FunctionalJavascript/MediaStandardProfileTest.php Tests the standard profile configuration for media type 'audio'.
MediaStandardProfileTest::documentTest function core/modules/media/tests/src/FunctionalJavascript/MediaStandardProfileTest.php Tests the standard profile configuration for media type 'document'.
MediaStandardProfileTest::imageTest function core/modules/media/tests/src/FunctionalJavascript/MediaStandardProfileTest.php Tests the standard profile configuration for media type 'image'.
MediaStandardProfileTest::remoteVideoTest function core/modules/media/tests/src/FunctionalJavascript/MediaStandardProfileTest.php Tests the standard profile configuration for media type 'remote_video'.

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