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
InstallerConfigDirectoryTestBase::copyDirectory function core/tests/Drupal/FunctionalTests/Installer/InstallerConfigDirectoryTestBase.php This copies a source directory to a destination directory recursively.
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.
LegacyFileSystemTest::testCopyWithDeprecatedFileExists function core/tests/Drupal/KernelTests/Core/File/LegacyFileSystemTest.php @covers ::copy
LegacyFileSystemTest::testCopyWithOutOfBoundsIntNegative function core/tests/Drupal/KernelTests/Core/File/LegacyFileSystemTest.php @covers ::copy
LegacyFileSystemTest::testCopyWithOutOfBoundsIntPositive function core/tests/Drupal/KernelTests/Core/File/LegacyFileSystemTest.php @covers ::copy
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 install.
RemoteFileUnmanagedCopyTest::$scheme property core/tests/Drupal/KernelTests/Core/File/RemoteFileUnmanagedCopyTest.php A stream wrapper scheme to register for the test.
RemoteFileUnmanagedCopyTest::setUp function core/tests/Drupal/KernelTests/Core/File/RemoteFileUnmanagedCopyTest.php
ReplaceOp::copyScaffold function composer/Plugin/Scaffold/Operations/ReplaceOp.php Copies the scaffold file.
SecuredRedirectResponseTest::testRedirectCopy function core/tests/Drupal/Tests/Component/HttpFoundation/SecuredRedirectResponseTest.php Tests copying of redirect response.
SqlContentEntityStorageSchema::handleEntityTypeSchemaUpdateExceptionOnDataCopy function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php Handles the case when an error occurs during the data copying step.
SqlFieldableEntityTypeListenerTrait::copyData function core/lib/Drupal/Core/Entity/Sql/SqlFieldableEntityTypeListenerTrait.php Copies entity data from the original storage to the temporary one.
SqlFieldableEntityTypeListenerTrait::handleEntityTypeSchemaUpdateExceptionOnDataCopy function core/lib/Drupal/Core/Entity/Sql/SqlFieldableEntityTypeListenerTrait.php Handles the case when an error occurs during the data copying step.
SSH::copyDirectoryJailed function core/lib/Drupal/Core/FileTransfer/SSH.php Copies a directory.
SSH::copyFileJailed function core/lib/Drupal/Core/FileTransfer/SSH.php Copies a file.
StorageCopyTrait trait core/lib/Drupal/Core/Config/StorageCopyTrait.php Utility trait to copy configuration from one storage to another.
StorageCopyTrait.php file core/lib/Drupal/Core/Config/StorageCopyTrait.php
StorageCopyTrait::replaceStorageContents function core/lib/Drupal/Core/Config/StorageCopyTrait.php Copy the configuration from one storage to another and remove stale items.
StorageCopyTraitTest class core/tests/Drupal/Tests/Core/Config/StorageCopyTraitTest.php @coversDefaultClass \Drupal\Core\Config\StorageCopyTrait
@group Config
StorageCopyTraitTest.php file core/tests/Drupal/Tests/Core/Config/StorageCopyTraitTest.php
StorageCopyTraitTest::generateRandomData function core/tests/Drupal/Tests/Core/Config/StorageCopyTraitTest.php Generate random data in a config storage.
StorageCopyTraitTest::providerTestReplaceStorageContents function core/tests/Drupal/Tests/Core/Config/StorageCopyTraitTest.php Provides data for testCheckRequirements().
StorageCopyTraitTest::testReplaceStorageContents function core/tests/Drupal/Tests/Core/Config/StorageCopyTraitTest.php @covers ::replaceStorageContents
StorageCopyTraitTest::testWithInvalidConfiguration function core/tests/Drupal/Tests/Core/Config/StorageCopyTraitTest.php Tests replaceStorageContents() with config with an invalid configuration.
StorageCopyTraitTest::toArray function core/tests/Drupal/Tests/Core/Config/StorageCopyTraitTest.php Get the protected config data out of a MemoryStorage.
TemplateProjectTestBase::copyCodebase function core/modules/package_manager/tests/src/Build/TemplateProjectTestBase.php Copy the current working codebase into a workspace.
TemplateProjectTestBase::copyFixtureToTempDirectory function core/modules/package_manager/tests/src/Build/TemplateProjectTestBase.php Copies a fixture directory to a temporary directory and returns its path.
TemporaryArrayObjectThrowingExceptions::getArrayCopy function core/modules/jsonapi/src/Normalizer/Value/TemporaryArrayObjectThrowingExceptions.php Exports the \ArrayObject to an array.
TestFileCopy class core/modules/migrate/tests/src/Unit/process/FileCopyTest.php Class for testing FileCopy.
TestFileCopy::getConfiguration function core/modules/migrate/tests/src/Unit/process/FileCopyTest.php Gets this plugin's configuration.
TestFileTransfer::copyFileJailed function core/modules/system/tests/src/Functional/FileTransfer/TestFileTransfer.php Copies a file.
update_authorize_batch_copy_project function core/modules/update/update.authorize.inc Implements callback_batch_operation().
VersionByRel::WORKING_COPY constant core/modules/jsonapi/src/Revisions/VersionByRel.php Version argument which loads the revision known to be the "working copy".
ViewDuplicateForm::copyTranslations function core/modules/views_ui/src/ViewDuplicateForm.php Copies all translations that existed on the original View.
WorkflowAddForm::copyFormValuesToEntity function core/modules/workflows/src/Form/WorkflowAddForm.php Copies top-level form values to entity properties.
WorkflowEditForm::copyFormValuesToEntity function core/modules/workflows/src/Form/WorkflowEditForm.php Copies top-level form values to entity properties.
WorkflowStateAddForm::copyFormValuesToEntity function core/modules/workflows/src/Form/WorkflowStateAddForm.php Copies top-level form values to entity properties.
WorkflowStateEditForm::copyFormValuesToEntity function core/modules/workflows/src/Form/WorkflowStateEditForm.php Copies top-level form values to entity properties.

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