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
FileFieldTestBase::assertFileIsPermanent function core/modules/file/tests/src/Functional/FileFieldTestBase.php Asserts that a file's status is set to permanent in the database.
FileFieldTestBase::getLastFileId function core/modules/file/tests/src/Functional/FileFieldTestBase.php Retrieves the fid of the last inserted file.
FileFieldTestBase::getTestFile function core/modules/file/tests/src/Functional/FileFieldTestBase.php Retrieves a sample file of the specified type.
FileFieldTestBase::removeNodeFile function core/modules/file/tests/src/Functional/FileFieldTestBase.php Removes a file from a node.
FileFieldTestBase::replaceNodeFile function core/modules/file/tests/src/Functional/FileFieldTestBase.php Replaces a file within a node.
FileFieldTestBase::setUp function core/modules/file/tests/src/Functional/FileFieldTestBase.php
FileFieldTestBase::updateFileField function core/modules/file/tests/src/Functional/FileFieldTestBase.php Updates an existing file field with new settings.
FileFieldTestBase::uploadNodeFile function core/modules/file/tests/src/Functional/FileFieldTestBase.php Uploads a file to a node.
FileFieldTestBase::uploadNodeFiles function core/modules/file/tests/src/Functional/FileFieldTestBase.php Uploads multiple files to a node.
FileFieldValidateTest class core/modules/file/tests/src/FunctionalJavascript/FileFieldValidateTest.php Tests file field validation functions.
FileFieldValidateTest class core/modules/file/tests/src/Functional/FileFieldValidateTest.php Tests file field validation functions.
FileFieldValidateTest.php file core/modules/file/tests/src/Functional/FileFieldValidateTest.php
FileFieldValidateTest.php file core/modules/file/tests/src/FunctionalJavascript/FileFieldValidateTest.php
FileFieldValidateTest::$defaultTheme property core/modules/file/tests/src/FunctionalJavascript/FileFieldValidateTest.php The theme to install as the default for testing.
FileFieldValidateTest::$defaultTheme property core/modules/file/tests/src/Functional/FileFieldValidateTest.php The theme to install as the default for testing.
FileFieldValidateTest::$modules property core/modules/file/tests/src/FunctionalJavascript/FileFieldValidateTest.php Modules to install.
FileFieldValidateTest::testAjaxValidationMessage function core/modules/file/tests/src/FunctionalJavascript/FileFieldValidateTest.php Tests the validation message is displayed only once for ajax uploads.
FileFieldValidateTest::testFileExtension function core/modules/file/tests/src/Functional/FileFieldValidateTest.php Tests file extension checking.
FileFieldValidateTest::testFileMaxSize function core/modules/file/tests/src/Functional/FileFieldValidateTest.php Tests the max file size validator.
FileFieldValidateTest::testFileRemoval function core/modules/file/tests/src/Functional/FileFieldValidateTest.php Checks that a file can always be removed if it does not pass validation.
FileFieldValidateTest::testRequired function core/modules/file/tests/src/Functional/FileFieldValidateTest.php Tests the required property on file fields.
FileFieldWidgetClaroThemeTest class core/modules/file/tests/src/FunctionalJavascript/FileFieldWidgetClaroThemeTest.php Tests the widget visibility settings for the Claro theme.
FileFieldWidgetClaroThemeTest.php file core/modules/file/tests/src/FunctionalJavascript/FileFieldWidgetClaroThemeTest.php
FileFieldWidgetClaroThemeTest::$defaultTheme property core/modules/file/tests/src/FunctionalJavascript/FileFieldWidgetClaroThemeTest.php The theme to install as the default for testing.
FileFieldWidgetClaroThemeTest::testWidgetDefaultVisibilitySettings function core/modules/file/tests/src/FunctionalJavascript/FileFieldWidgetClaroThemeTest.php Tests that the field widget visibility settings are respected on the form.
FileFieldWidgetTest class core/modules/file/tests/src/FunctionalJavascript/FileFieldWidgetTest.php Tests the file field widget, single and multi-valued, using AJAX upload.
FileFieldWidgetTest class core/modules/file/tests/src/Functional/FileFieldWidgetTest.php Tests the file field widget with public and private files.
FileFieldWidgetTest.php file core/modules/file/tests/src/Functional/FileFieldWidgetTest.php
FileFieldWidgetTest.php file core/modules/file/tests/src/FunctionalJavascript/FileFieldWidgetTest.php
FileFieldWidgetTest::$adminUser property core/modules/file/tests/src/FunctionalJavascript/FileFieldWidgetTest.php An user with administration permissions.
FileFieldWidgetTest::$defaultTheme property core/modules/file/tests/src/FunctionalJavascript/FileFieldWidgetTest.php The theme to install as the default for testing.
FileFieldWidgetTest::$defaultTheme property core/modules/file/tests/src/Functional/FileFieldWidgetTest.php The theme to install as the default for testing.
FileFieldWidgetTest::$modules property core/modules/file/tests/src/Functional/FileFieldWidgetTest.php Modules to install.
FileFieldWidgetTest::$modules property core/modules/file/tests/src/FunctionalJavascript/FileFieldWidgetTest.php Modules to install.
FileFieldWidgetTest::createTemporaryFile function core/modules/file/tests/src/Functional/FileFieldWidgetTest.php Creates a temporary file, for a specific user.
FileFieldWidgetTest::doTestTemporaryFileRemovalExploit function core/modules/file/tests/src/Functional/FileFieldWidgetTest.php Helper for testing exploiting the temporary file removal using fid.
FileFieldWidgetTest::getTestFile function core/modules/file/tests/src/FunctionalJavascript/FileFieldWidgetTest.php Retrieves a sample file of the specified type.
FileFieldWidgetTest::setUp function core/modules/file/tests/src/FunctionalJavascript/FileFieldWidgetTest.php
FileFieldWidgetTest::setUp function core/modules/file/tests/src/Functional/FileFieldWidgetTest.php
FileFieldWidgetTest::testFileExtensionsSetting function core/modules/file/tests/src/Functional/FileFieldWidgetTest.php Tests configuring file field's allowed file extensions setting.
FileFieldWidgetTest::testMaximumUploadFileSizeValidation function core/modules/file/tests/src/Functional/FileFieldWidgetTest.php Tests maximum upload file size validation.
FileFieldWidgetTest::testMultiValuedWidget function core/modules/file/tests/src/Functional/FileFieldWidgetTest.php Tests upload and remove buttons for multiple multi-valued File fields.
FileFieldWidgetTest::testMultiValuedWidget function core/modules/file/tests/src/FunctionalJavascript/FileFieldWidgetTest.php Tests upload and remove buttons for multiple multi-valued File fields.
FileFieldWidgetTest::testPrivateFileComment function core/modules/file/tests/src/Functional/FileFieldWidgetTest.php Tests that download restrictions on private files work on comments.
FileFieldWidgetTest::testPrivateFileSetting function core/modules/file/tests/src/Functional/FileFieldWidgetTest.php Tests a file field with a "Private files" upload destination setting.
FileFieldWidgetTest::testSingleValuedWidget function core/modules/file/tests/src/Functional/FileFieldWidgetTest.php Tests upload and remove buttons for a single-valued File field.
FileFieldWidgetTest::testSingleValuedWidget function core/modules/file/tests/src/FunctionalJavascript/FileFieldWidgetTest.php Tests uploading and remove buttons for a single-valued File field.
FileFieldWidgetTest::testTemporaryFileRemovalExploit function core/modules/file/tests/src/Functional/FileFieldWidgetTest.php Tests exploiting the temporary file removal of another user using fid.
FileFieldWidgetTest::testTemporaryFileRemovalExploitAnonymous function core/modules/file/tests/src/Functional/FileFieldWidgetTest.php Tests exploiting the temporary file removal for anonymous users using fid.
FileFieldWidgetTest::testUploadingMoreFilesThanAllowed function core/modules/file/tests/src/FunctionalJavascript/FileFieldWidgetTest.php Tests uploading more files than allowed at once.

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