Search for copy

  1. Search 7.x for copy
  2. Search 9.5.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::providerDeprecationNoticeReuse function core/modules/migrate/tests/src/Unit/process/FileCopyTest.php Data provider for testDeprecationNoticeReuse.
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::testDeprecationNoticeRename function core/modules/migrate/tests/src/Unit/process/FileCopyTest.php Tests that the rename configuration key will trigger a deprecation notice.
FileCopyTest::testDeprecationNoticeReuse function core/modules/migrate/tests/src/Unit/process/FileCopyTest.php Tests that the reuse configuration key will trigger a deprecation notice.
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 Test 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 Test the 'rename' overwrite mode.
FileCopyTest::testSuccessfulCopies function core/modules/migrate/tests/src/Kernel/process/FileCopyTest.php Test successful imports/copies.
FileCopyTest::testSuccessfulMoves function core/modules/migrate/tests/src/Kernel/process/FileCopyTest.php Test successful moves.
FileCopyTest::testSuccessfulReuse function core/modules/migrate/tests/src/Kernel/process/FileCopyTest.php Test successful file reuse.
FileSystem::copy function core/lib/Drupal/Core/File/FileSystem.php Copies a file to a new location without invoking the file API.
FileSystemDeprecationTest::testDeprecatedUnmanagedFileCopy function core/tests/Drupal/KernelTests/Core/File/FileSystemDeprecationTest.php @expectedDeprecation file_unmanaged_copy() is deprecated in Drupal 8.7.0 and will be removed before Drupal 9.0.0. Use \Drupal\Core\File\FileSystemInterface::copy(). See https://www.drupal.org/node/3006851.
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().
file_unmanaged_copy function core/includes/file.inc Copies a file to a new location without database changes or hook invocation.
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.
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
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.
RemoteFileUnmanagedCopyTest::$modules property core/tests/Drupal/KernelTests/Core/File/RemoteFileUnmanagedCopyTest.php Modules to enable.
RemoteFileUnmanagedCopyTest::$scheme property core/tests/Drupal/KernelTests/Core/File/RemoteFileUnmanagedCopyTest.php A stream wrapper scheme to register for the test.

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