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
FileFieldTestBase::attachFileField function core/modules/file/src/Tests/FileFieldTestBase.php Attaches a file field to an entity.
FileFieldTestBase::createFileField function core/modules/file/src/Tests/FileFieldTestBase.php Creates a new file field.
FileFieldTestBase::getLastFileId function core/modules/file/src/Tests/FileFieldTestBase.php Retrieves the fid of the last inserted file.
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::getTestFile function core/modules/file/src/Tests/FileFieldTestBase.php Retrieves a sample file of the specified type.
FileFieldTestBase::removeNodeFile function core/modules/file/src/Tests/FileFieldTestBase.php Removes a file from a node.
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::replaceNodeFile function core/modules/file/src/Tests/FileFieldTestBase.php Replaces a file within a node.
FileFieldTestBase::setUp function core/modules/file/src/Tests/FileFieldTestBase.php Sets up a Drupal site for running functional and integration tests.
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::updateFileField function core/modules/file/src/Tests/FileFieldTestBase.php Updates an existing file field with new settings.
FileFieldTestBase::uploadNodeFile function core/modules/file/src/Tests/FileFieldTestBase.php Uploads a file to a node.
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.
FileFieldTestBase::uploadNodeFiles function core/modules/file/src/Tests/FileFieldTestBase.php Uploads multiple files to a node.
FileFieldTestBaseTrait trait core/tests/Drupal/TestTools/PhpUnitCompatibility/PhpUnit6/FileFieldTestBaseTrait.php Makes Drupal's test API forward compatible with multiple versions of PHPUnit.
FileFieldTestBaseTrait trait core/tests/Drupal/TestTools/PhpUnitCompatibility/PhpUnit7/FileFieldTestBaseTrait.php Makes Drupal's test API forward compatible with multiple versions of PHPUnit.
FileFieldTestBaseTrait.php file core/tests/Drupal/TestTools/PhpUnitCompatibility/PhpUnit6/FileFieldTestBaseTrait.php
FileFieldTestBaseTrait.php file core/tests/Drupal/TestTools/PhpUnitCompatibility/PhpUnit7/FileFieldTestBaseTrait.php
FileFieldTestBaseTrait::assertFileExists function core/tests/Drupal/TestTools/PhpUnitCompatibility/PhpUnit6/FileFieldTestBaseTrait.php Asserts that a file exists physically on disk.
FileFieldTestBaseTrait::assertFileNotExists function core/tests/Drupal/TestTools/PhpUnitCompatibility/PhpUnit6/FileFieldTestBaseTrait.php Asserts that a file does not exist on disk.
FileFieldValidateTest class core/modules/file/tests/src/FunctionalJavascript/FileFieldValidateTest.php Tests validation functions such as file type, max file size, max size per
node, and required.
FileFieldValidateTest class core/modules/file/tests/src/Functional/FileFieldValidateTest.php Tests validation functions such as file type, max file size, max size per
node, and required.
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 enable.
FileFieldValidateTest::testAjaxValidationMessage function core/modules/file/tests/src/FunctionalJavascript/FileFieldValidateTest.php Test the validation message is displayed only once for ajax uploads.
FileFieldValidateTest::testAssertFileExistsDeprecation function core/modules/file/tests/src/Functional/FileFieldValidateTest.php Tests deprecation of the assertFileExists and assertFileNotExists methods.
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.
FileFieldWidgetTest class core/modules/file/tests/src/Functional/FileFieldWidgetTest.php Tests the file field widget with public and private files.
FileFieldWidgetTest class core/modules/file/tests/src/FunctionalJavascript/FileFieldWidgetTest.php Tests the file field widget, single and multi-valued, using AJAX upload.
FileFieldWidgetTest.php file core/modules/file/tests/src/FunctionalJavascript/FileFieldWidgetTest.php
FileFieldWidgetTest.php file core/modules/file/tests/src/Functional/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 enable.
FileFieldWidgetTest::$modules property core/modules/file/tests/src/FunctionalJavascript/FileFieldWidgetTest.php Modules to enable.
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

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