Search for file

  1. Search 7.x for file
  2. Search 8.9.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
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::$chrootPath property core/lib/Drupal/Core/FileTransfer/FileTransfer.php Path to connection chroot.
FileTransfer::$connectionHandle property core/lib/Drupal/Core/FileTransfer/FileTransfer.php The instantiated connection object.
FileTransfer::$hostname property core/lib/Drupal/Core/FileTransfer/FileTransfer.php The hostname for this file transfer.
FileTransfer::$jail property core/lib/Drupal/Core/FileTransfer/FileTransfer.php Full path to directory where file-transfer is restricted to.
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.
FileTransfer::factory function core/lib/Drupal/Core/FileTransfer/FileTransfer.php Defines a factory method for this class.
FileTransfer::findChroot function core/lib/Drupal/Core/FileTransfer/FileTransfer.php Returns the chroot property for this connection.
FileTransfer::fixRemotePath function core/lib/Drupal/Core/FileTransfer/FileTransfer.php Returns a modified path suitable for passing to the server.
FileTransfer::getSettingsForm function core/lib/Drupal/Core/FileTransfer/FileTransfer.php Returns a form to collect connection settings credentials.
FileTransfer::isDirectory function core/lib/Drupal/Core/FileTransfer/FileTransfer.php Checks if a particular path is a directory.
FileTransfer::isFile function core/lib/Drupal/Core/FileTransfer/FileTransfer.php Checks if a particular path is a file (not a directory).
FileTransfer::removeDirectory function core/lib/Drupal/Core/FileTransfer/FileTransfer.php Removes a directory.
FileTransfer::removeDirectoryJailed function core/lib/Drupal/Core/FileTransfer/FileTransfer.php Removes a directory.
FileTransfer::removeFile function core/lib/Drupal/Core/FileTransfer/FileTransfer.php Removes a file.
FileTransfer::removeFileJailed function core/lib/Drupal/Core/FileTransfer/FileTransfer.php Removes a file.
FileTransfer::sanitizePath function core/lib/Drupal/Core/FileTransfer/FileTransfer.php Changes backslashes to slashes, also removes a trailing slash.
FileTransfer::setChroot function core/lib/Drupal/Core/FileTransfer/FileTransfer.php Sets the chroot and changes the jail to match the correct path scheme.
FileTransfer::__construct function core/lib/Drupal/Core/FileTransfer/FileTransfer.php Constructs a Drupal\Core\FileTransfer\FileTransfer object.
FileTransfer::__get function core/lib/Drupal/Core/FileTransfer/FileTransfer.php Implements the magic __get() method.
FileTransfer::__isset function core/lib/Drupal/Core/FileTransfer/FileTransfer.php
FileTransfer::__set function core/lib/Drupal/Core/FileTransfer/FileTransfer.php
FileTransfer::__unset function core/lib/Drupal/Core/FileTransfer/FileTransfer.php
FileTransferAuthorizeForm class core/lib/Drupal/Core/FileTransfer/Form/FileTransferAuthorizeForm.php Provides the file transfer authorization form.
FileTransferAuthorizeForm.php file core/lib/Drupal/Core/FileTransfer/Form/FileTransferAuthorizeForm.php
FileTransferAuthorizeForm::$root property core/lib/Drupal/Core/FileTransfer/Form/FileTransferAuthorizeForm.php The app root.
FileTransferAuthorizeForm::addConnectionSettings function core/lib/Drupal/Core/FileTransfer/Form/FileTransferAuthorizeForm.php Generates the Form API array for a given connection backend's settings.
FileTransferAuthorizeForm::buildForm function core/lib/Drupal/Core/FileTransfer/Form/FileTransferAuthorizeForm.php Form constructor.
FileTransferAuthorizeForm::create function core/lib/Drupal/Core/FileTransfer/Form/FileTransferAuthorizeForm.php Instantiates a new instance of this class.
FileTransferAuthorizeForm::getFiletransfer function core/lib/Drupal/Core/FileTransfer/Form/FileTransferAuthorizeForm.php Gets a FileTransfer class for a specific transfer method and settings.
FileTransferAuthorizeForm::getFormId function core/lib/Drupal/Core/FileTransfer/Form/FileTransferAuthorizeForm.php Returns a unique string identifying the form.
FileTransferAuthorizeForm::runOperation function core/lib/Drupal/Core/FileTransfer/Form/FileTransferAuthorizeForm.php Runs the operation specified in 'authorize_operation' session property.
FileTransferAuthorizeForm::setConnectionSettingsDefaults function core/lib/Drupal/Core/FileTransfer/Form/FileTransferAuthorizeForm.php Sets the default settings on a file transfer connection form recursively.
FileTransferAuthorizeForm::submitForm function core/lib/Drupal/Core/FileTransfer/Form/FileTransferAuthorizeForm.php Form submission handler.
FileTransferAuthorizeForm::validateForm function core/lib/Drupal/Core/FileTransfer/Form/FileTransferAuthorizeForm.php Form validation handler.
FileTransferAuthorizeForm::__construct function core/lib/Drupal/Core/FileTransfer/Form/FileTransferAuthorizeForm.php Constructs a new FileTransferAuthorizeForm object.
FileTransferAuthorizeFormTest class core/modules/update/tests/src/Functional/FileTransferAuthorizeFormTest.php Tests the Update Manager module upload via authorize.php functionality.

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