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
FileTestAccessControlHandler class core/modules/file/tests/file_test/src/FileTestAccessControlHandler.php Defines a class for an alternate file access control handler.
FileTestAccessControlHandler.php file core/modules/file/tests/file_test/src/FileTestAccessControlHandler.php
FileTestAccessControlHandler::checkAccess function core/modules/file/tests/file_test/src/FileTestAccessControlHandler.php Performs access checks.
FileTestBase class core/tests/Drupal/KernelTests/Core/File/FileTestBase.php Base class for file tests that adds some additional file specific
assertions and helper functions.
FileTestBase.php file core/tests/Drupal/KernelTests/Core/File/FileTestBase.php
FileTestBase::$classname property core/tests/Drupal/KernelTests/Core/File/FileTestBase.php A fully-qualified stream wrapper class name to register for the test.
FileTestBase::$modules property core/tests/Drupal/KernelTests/Core/File/FileTestBase.php Modules to enable.
FileTestBase::$scheme property core/tests/Drupal/KernelTests/Core/File/FileTestBase.php A stream wrapper scheme to register for the test.
FileTestBase::assertDirectoryPermissions function core/tests/Drupal/KernelTests/Core/File/FileTestBase.php Helper function to test the permissions of a directory.
FileTestBase::assertFilePermissions function core/tests/Drupal/KernelTests/Core/File/FileTestBase.php Helper function to test the permissions of a file.
FileTestBase::createDirectory function core/tests/Drupal/KernelTests/Core/File/FileTestBase.php Create a directory and assert it exists.
FileTestBase::createUri function core/tests/Drupal/KernelTests/Core/File/FileTestBase.php Create a file and return the URI of it.
FileTestBase::register function core/tests/Drupal/KernelTests/Core/File/FileTestBase.php Registers test-specific services.
FileTestBase::setUp function core/tests/Drupal/KernelTests/Core/File/FileTestBase.php
FileTestBase::setUpFilesystem function core/tests/Drupal/KernelTests/Core/File/FileTestBase.php Sets up the filesystem, so things like the file directory.
FileTestForm class core/modules/file/tests/file_test/src/Form/FileTestForm.php File test form class.
FileTestForm.php file core/modules/file/tests/file_test/src/Form/FileTestForm.php
FileTestForm::buildForm function core/modules/file/tests/file_test/src/Form/FileTestForm.php Form constructor.
FileTestForm::getFormId function core/modules/file/tests/file_test/src/Form/FileTestForm.php Returns a unique string identifying the form.
FileTestForm::submitForm function core/modules/file/tests/file_test/src/Form/FileTestForm.php Form submission handler.
FileTestForm::validateForm function core/modules/file/tests/file_test/src/Form/FileTestForm.php Form validation handler.
FileTestSaveUploadFromForm class core/modules/file/tests/file_test/src/Form/FileTestSaveUploadFromForm.php File test form class.
FileTestSaveUploadFromForm.php file core/modules/file/tests/file_test/src/Form/FileTestSaveUploadFromForm.php
FileTestSaveUploadFromForm::$messenger property core/modules/file/tests/file_test/src/Form/FileTestSaveUploadFromForm.php The messenger.
FileTestSaveUploadFromForm::$state property core/modules/file/tests/file_test/src/Form/FileTestSaveUploadFromForm.php Stores the state storage service.
FileTestSaveUploadFromForm::buildForm function core/modules/file/tests/file_test/src/Form/FileTestSaveUploadFromForm.php Form constructor.
FileTestSaveUploadFromForm::create function core/modules/file/tests/file_test/src/Form/FileTestSaveUploadFromForm.php Instantiates a new instance of this class.
FileTestSaveUploadFromForm::getFormId function core/modules/file/tests/file_test/src/Form/FileTestSaveUploadFromForm.php Returns a unique string identifying the form.
FileTestSaveUploadFromForm::submitForm function core/modules/file/tests/file_test/src/Form/FileTestSaveUploadFromForm.php Form submission handler.
FileTestSaveUploadFromForm::validateForm function core/modules/file/tests/file_test/src/Form/FileTestSaveUploadFromForm.php Form validation handler.
FileTestSaveUploadFromForm::__construct function core/modules/file/tests/file_test/src/Form/FileTestSaveUploadFromForm.php Constructs a FileTestSaveUploadFromForm object.
FileTokenReplaceTest class core/modules/file/tests/src/Functional/FileTokenReplaceTest.php Generates text using placeholders for dummy content to check file token
replacement.
FileTokenReplaceTest.php file core/modules/file/tests/src/Functional/FileTokenReplaceTest.php
FileTokenReplaceTest::$defaultTheme property core/modules/file/tests/src/Functional/FileTokenReplaceTest.php The theme to install as the default for testing.
FileTokenReplaceTest::testFileTokenReplacement function core/modules/file/tests/src/Functional/FileTokenReplaceTest.php Creates a file, then tests the tokens generated from it.
FileTransfer class core/lib/Drupal/Core/FileTransfer/FileTransfer.php Defines the base FileTransfer class.
FileTransfer.php file core/lib/Drupal/Core/FileTransfer/FileTransfer.php
FileTransfer::$hostname property core/lib/Drupal/Core/FileTransfer/FileTransfer.php The hostname for this file transfer.
FileTransfer::$password property core/lib/Drupal/Core/FileTransfer/FileTransfer.php The password for this file transfer.
FileTransfer::$port property core/lib/Drupal/Core/FileTransfer/FileTransfer.php The port for this file transfer.
FileTransfer::$username property core/lib/Drupal/Core/FileTransfer/FileTransfer.php The username for this file transfer.
FileTransfer::checkPath function core/lib/Drupal/Core/FileTransfer/FileTransfer.php Checks that the path is inside the jail and throws an exception if not.
FileTransfer::chmod function core/lib/Drupal/Core/FileTransfer/FileTransfer.php Changes the permissions of the specified $path (file or directory).
FileTransfer::connect function core/lib/Drupal/Core/FileTransfer/FileTransfer.php Connects to the server.
FileTransfer::copyDirectory function core/lib/Drupal/Core/FileTransfer/FileTransfer.php Copies a directory.
FileTransfer::copyDirectoryJailed function core/lib/Drupal/Core/FileTransfer/FileTransfer.php Copies a directory.
FileTransfer::copyFile function core/lib/Drupal/Core/FileTransfer/FileTransfer.php Copies a file.
FileTransfer::copyFileJailed function core/lib/Drupal/Core/FileTransfer/FileTransfer.php Copies a file.
FileTransfer::createDirectory function core/lib/Drupal/Core/FileTransfer/FileTransfer.php Creates a directory.
FileTransfer::createDirectoryJailed function core/lib/Drupal/Core/FileTransfer/FileTransfer.php Creates a directory.

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