Search for copy

  1. Search 7.x for copy
  2. Search 8.9.x for copy
  3. Search 10.3.x for copy
  4. Search 11.x for copy
  5. Other projects
Title Object type File name Summary
FileCopyTest::$modules property core/modules/migrate/tests/src/Kernel/process/FileCopyTest.php Modules to enable.
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 Copies a file to a new location and adds a file record to the database.
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_copy function core/modules/file/file.module Copies a file to a new location and adds a file record to the database.
file_test_file_copy function core/modules/file/tests/file_test/file_test.module Implements hook_file_copy().
FTPExtension::copyFileJailed function core/lib/Drupal/Core/FileTransfer/FTPExtension.php Copies a file.
GenerateTheme::copyRecursive function core/lib/Drupal/Core/Command/GenerateTheme.php Copies files recursively.
hook_file_copy function core/modules/file/file.api.php Respond to a file that has been copied.
LanguageAddForm::copyFormValuesToEntity function core/modules/language/src/Form/LanguageAddForm.php Copies top-level form values to entity properties.
LayoutBuilderEntityViewDisplay::createCopy function core/modules/layout_builder/src/Entity/LayoutBuilderEntityViewDisplay.php Creates a duplicate of the entity display object on a different view mode.
LayoutBuilderEntityViewDisplayForm::copyFormValuesToEntity function core/modules/layout_builder/src/Form/LayoutBuilderEntityViewDisplayForm.php Copies top-level form values to entity properties.
LegacyFileTest::testCopy function core/modules/file/tests/src/Kernel/LegacyFileTest.php Tests the file_copy deprecation and legacy behavior.
Local::copyFileJailed function core/lib/Drupal/Core/FileTransfer/Local.php Copies a file.
Message::copySender function core/modules/contact/src/Entity/Message.php Returns TRUE if a copy should be sent to the sender.
Message::setCopySender function core/modules/contact/src/Entity/Message.php Sets if the sender should receive a copy of this email or not.
MessageInterface::copySender function core/modules/contact/src/MessageInterface.php Returns TRUE if a copy should be sent to the sender.
MessageInterface::setCopySender function core/modules/contact/src/MessageInterface.php Sets if the sender should receive a copy of this email or not.
ParamConversionEnhancer::copyRawVariables function core/lib/Drupal/Core/Routing/Enhancer/ParamConversionEnhancer.php Store a backup of the raw values that corresponding to the route pattern.
ParamConversionEnhancerTest::testCopyRawVariables function core/tests/Drupal/Tests/Core/Enhancer/ParamConversionEnhancerTest.php @covers ::copyRawVariables
RemoteFileUnmanagedCopyTest class core/tests/Drupal/KernelTests/Core/File/RemoteFileUnmanagedCopyTest.php Tests the unmanaged file copy function.
RemoteFileUnmanagedCopyTest.php file core/tests/Drupal/KernelTests/Core/File/RemoteFileUnmanagedCopyTest.php
RemoteFileUnmanagedCopyTest::$classname property core/tests/Drupal/KernelTests/Core/File/RemoteFileUnmanagedCopyTest.php A fully-qualified stream wrapper class name to register for the test.

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