Drupal is a registered trademark of Dries Buytaert
drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)! drupal 11.3.6 Update released for Drupal core (11.3.6)! drupal 10.6.6 Update released for Drupal core (10.6.6)! cms 2.1.0 Update released for Drupal core (2.1.0)! bootstrap 8.x-3.40 Minor update available for theme bootstrap (8.x-3.40). menu_link_attributes 8.x-1.7 Minor update available for module menu_link_attributes (8.x-1.7). eca 3.1.1 Minor update available for module eca (3.1.1). layout_paragraphs 2.1.3 Minor update available for module layout_paragraphs (2.1.3). ai 1.3.3 Minor update available for module ai (1.3.3). ai 1.2.14 Minor update available for module ai (1.2.14). node_revision_delete 2.0.3 Minor update available for module node_revision_delete (2.0.3). moderated_content_bulk_publish 2.0.52 Minor update available for module moderated_content_bulk_publish (2.0.52). klaro 3.0.10 Minor update available for module klaro (3.0.10). klaro 3.0.9 Minor update available for module klaro (3.0.9). layout_paragraphs 2.1.2 Minor update available for module layout_paragraphs (2.1.2). geofield_map 11.1.8 Minor update available for module geofield_map (11.1.8).

config_entity_cloner

71 sites Security covered
View on drupal.org

CONTENTS OF THIS FILE
---------------------

* Introduction
* Requirements
* Installation
* How it works
* Maintainers

INTRODUCTION
------------
The Config Entity Cloner module allows site builder to clone entity
any configuration entity.

This modules adds the 'clone' button in every configuration entity
operation list. Clicking on this button allows you to access to the
clone form. Once click, each declared configuration is duplicated.

You can create your on duplication process with a specific plugin.
You can create new configuration process with the command :
`drush generate config-entity-cloner-process`
Then you have to complete the process `cloneProcess` method.

REQUIREMENTS
------------

This module requires no modules outside of Drupal core.

INSTALLATION
------------

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

HOW IT WORKS
------------

The clone process is based on a succession of process. Foreach entity
the Config Entity Cloner will execute each process. By defautl the list of
process is :
- fields configuration
- form display configuration
- view display configuration
- translation configuration
- simple sitemap configuration.

As you can see, each process depends on a configuration type (fields,
form display etc...). Some of configuration may not be able for some
entity types. It is not a problem as we duplicate existing configuration,
the module does not create unexisting configuration. In this context,
the module does not process unexisting duplication.

GENERATE PROCESS PLUGIN
------------

A Config Entity Cloner Process is plugin. So you can create your own
process according to your own configuration. This process should duplicate
an existing configuration using the `cloneProcess` method.

In order to create your process you can use the drush generate command :
`drush generate config-entity-cloner-process`

GENERATE PROCESSOR PLUGIN
------------

By default, Config Entity Cloner will execute the whole list of process.
If the entity type you are about to clone does not need to execute the
list of all the process, you can restrict the list of process to execute
using a specific Config Entity Cloner Processor. A processor is a plugin
which id matches a specific entity type id. This way, you can create your
own processor that will define a specific list of process with the method
`getProcessList` that should return a list of process.

In order to create your processor you can use the drush generate command :
`drush generate config-entity-cloner-processor`

MAINTAINERS
-----------

* Thomas Sécher - https://www.drupal.org/u/tsecher

Supporting organization:

* Lycanthrop - https://www.drupal.org/lycanthrop

Activity

Total releases
1
First release
Feb 2026
Latest release
2 months ago
Release cadence
Stability
100% stable

Releases

Version Type Release date
1.1.0 Stable Feb 11, 2026