Search for copy

  1. Search 7.x for copy
  2. Search 9.5.x for copy
  3. Search 8.9.x for copy
  4. Search 10.3.x for copy
  5. Other projects
Title Object type File name Summary
FileCopy::create function core/modules/migrate/src/Plugin/migrate/process/FileCopy.php Creates an instance of the plugin.
FileCopy::getDirectory function core/modules/migrate/src/Plugin/migrate/process/FileCopy.php Returns the directory component of a URI or path.
FileCopy::isLocalUri function core/modules/migrate/src/Plugin/migrate/process/FileCopy.php Determines if the given URI or path is considered local.
FileCopy::isLocationUnchanged function core/modules/migrate/src/Plugin/migrate/process/FileCopy.php Determines if the source and destination URIs represent identical paths.
FileCopy::transform function core/modules/migrate/src/Plugin/migrate/process/FileCopy.php Performs the associated process.
FileCopy::writeFile function core/modules/migrate/src/Plugin/migrate/process/FileCopy.php Tries to move or copy a file.
FileCopy::__construct function core/modules/migrate/src/Plugin/migrate/process/FileCopy.php Constructs a file_copy process plugin.
FileCopyTest class core/modules/migrate/tests/src/Unit/process/FileCopyTest.php Tests the file copy process plugin.
FileCopyTest class core/modules/migrate/tests/src/Kernel/process/FileCopyTest.php Tests the file_copy process plugin.
FileCopyTest class core/tests/Drupal/KernelTests/Core/File/FileCopyTest.php Tests the unmanaged file copy function.
FileCopyTest.php file core/modules/migrate/tests/src/Unit/process/FileCopyTest.php
FileCopyTest.php file core/modules/migrate/tests/src/Kernel/process/FileCopyTest.php
FileCopyTest.php file core/tests/Drupal/KernelTests/Core/File/FileCopyTest.php
FileCopyTest::$fileSystem property core/modules/migrate/tests/src/Kernel/process/FileCopyTest.php The file system service.
FileCopyTest::$modules property core/modules/migrate/tests/src/Kernel/process/FileCopyTest.php Modules to install.
FileCopyTest::assertPlugin function core/modules/migrate/tests/src/Unit/process/FileCopyTest.php Creates a TestFileCopy process plugin.
FileCopyTest::doTransform function core/modules/migrate/tests/src/Kernel/process/FileCopyTest.php Do an import using the destination.
FileCopyTest::providerFileProcessBaseConstructor function core/modules/migrate/tests/src/Unit/process/FileCopyTest.php Data provider for testFileProcessBaseConstructor.
FileCopyTest::providerSuccessfulReuse function core/modules/migrate/tests/src/Kernel/process/FileCopyTest.php Provides the source and destination path files.
FileCopyTest::setUp function core/modules/migrate/tests/src/Kernel/process/FileCopyTest.php
FileCopyTest::testDownloadRemoteUri function core/modules/migrate/tests/src/Kernel/process/FileCopyTest.php Tests that remote URIs are delegated to the download plugin.
FileCopyTest::testFileProcessBaseConstructor function core/modules/migrate/tests/src/Unit/process/FileCopyTest.php Tests that the plugin constructor correctly sets the configuration.
FileCopyTest::testNonExistent function core/tests/Drupal/KernelTests/Core/File/FileCopyTest.php Copy a non-existent file.
FileCopyTest::testNonExistentSourceFile function core/modules/migrate/tests/src/Kernel/process/FileCopyTest.php Tests that non-existent files throw an exception.
FileCopyTest::testNonWritableDestination function core/modules/migrate/tests/src/Kernel/process/FileCopyTest.php Tests that non-writable destination throw an exception.
FileCopyTest::testNormal function core/tests/Drupal/KernelTests/Core/File/FileCopyTest.php Copy a normal file.
FileCopyTest::testOverwriteSelf function core/tests/Drupal/KernelTests/Core/File/FileCopyTest.php Copy a file onto itself.
FileCopyTest::testRenameFile function core/modules/migrate/tests/src/Kernel/process/FileCopyTest.php Tests the 'rename' overwrite mode.
FileCopyTest::testSuccessfulCopies function core/modules/migrate/tests/src/Kernel/process/FileCopyTest.php Tests successful imports/copies.
FileCopyTest::testSuccessfulMoves function core/modules/migrate/tests/src/Kernel/process/FileCopyTest.php Tests successful moves.
FileCopyTest::testSuccessfulReuse function core/modules/migrate/tests/src/Kernel/process/FileCopyTest.php Tests successful file reuse.
FileRepository::copy function core/modules/file/src/FileRepository.php
FileRepositoryInterface::copy function core/modules/file/src/FileRepositoryInterface.php Copies a file to a new location and adds a file record to the database.
FileSystem::copy function core/lib/Drupal/Core/File/FileSystem.php Copies a file to a new location without invoking the file API.
FileSystemInterface::copy function core/lib/Drupal/Core/File/FileSystemInterface.php Copies a file to a new location without invoking the file API.
FileSystemTest::testCopyFailureIfFileAlreadyExists function core/tests/Drupal/KernelTests/Core/File/FileSystemTest.php @covers ::copy
FileSystemTest::testCopyFailureIfSelfOverwrite function core/tests/Drupal/KernelTests/Core/File/FileSystemTest.php @covers ::copy
FileSystemTest::testCopySelfRename function core/tests/Drupal/KernelTests/Core/File/FileSystemTest.php @covers ::copy
FileSystemTest::testDestinationDirectoryFailureOnCopy function core/tests/Drupal/KernelTests/Core/File/FileSystemTest.php @covers ::copy
FileSystemTest::testEnsureFileExistsBeforeCopy function core/tests/Drupal/KernelTests/Core/File/FileSystemTest.php @covers ::copy
FileSystemTest::testSuccessfulCopy function core/tests/Drupal/KernelTests/Core/File/FileSystemTest.php @covers ::copy
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.
file_test_file_copy function core/modules/file/tests/file_test/file_test.module Implements hook_file_copy().
FixtureUtilityTrait::copyFixtureFilesTo function core/modules/package_manager/tests/src/Traits/FixtureUtilityTrait.php Mirrors a fixture directory to the given path.
FTPExtension::copyFileJailed function core/lib/Drupal/Core/FileTransfer/FTPExtension.php Copies a file.
hook_file_copy function core/modules/file/file.api.php Respond to a file that has been copied.
Importer::copyFileAssociatedWithEntity function core/lib/Drupal/Core/DefaultContent/Importer.php Copies a file from default content directory to the site's file system.

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