Advertising sustains the DA. Ads are hidden for members. Join today

Contributed module documentation

Quick Node Clone

Last updated on
22 August 2021

INTRODUCTION

The Quick Node Clone module adds a "Clone" tab to a node. When selected, a new node is created and fields from the previous node are populated into the new fields.

This is potentially duplicate work of Node Clone (https://www.drupal.org/project/node_clone), but as of release they don't have a stable D8 version and this code was created for a project from scratch in a reusable manner. This is focused on supporting more variety in field types than core's default cloning.

Future @TODO: Support more than just nodes! It could be expanded to all Content Entities fairly easily. This will likely be in its own properly named module with a better method for adding a UI to other content entities.

REQUIREMENTS

This module requires no modules outside of Drupal core.

It currently supports cloning of most field types including Inline Entity Form and Field Collection.

INSTALLATION

Install the Quick Node Clone module as you would normally install a contributed Drupal module. Visit https://www.drupal.org/node/1897420 for further information.

CONFIGURATION

1. Navigate to Administration > Extend and enable the Quick Node Clone
   module.
2. A Clone tab is now available on nodes.
3. Select the Clone tab and a new node is created and the fields from the
   previous node are populated.
4. Make appropriate edits and Save New Clone.

See admin/config/quick-node-clone for additional settings, including default cloned node title prefix and fields to exclude from cloning per content type.  

MAINTAINERS

Help improve this page

Page status: No known problems

You can: