Unverified Commit 7f9b8449 authored by IMMACULATE X's avatar IMMACULATE X Committed by Nikita Malyshev
Browse files

Issue #3291187 by sourabhjain, immaculatexavier, Rakhi Soni, mrinalini9: Line...

Issue #3291187 by sourabhjain, immaculatexavier, Rakhi Soni, mrinalini9: Line exceeds 80 characters issue
parent 283e0fee
Loading
Loading
Loading
Loading
+26 −10
Original line number Diff line number Diff line
@@ -10,22 +10,36 @@ CONTENTS OF THIS FILE
INTRODUCTION
------------

**Cloner** let you clone any entity on Drupal site, and provide forms for this as well.
**Cloner** let you clone any entity on Drupal site, and provide forms for this
as well.

The obvious question that can appear, what's the difference between Cloner and [Entity Clone](https://www.drupal.org/project/entity_clone)?
The obvious question that can appear, what's the difference between
Cloner and [Entity Clone](https://www.drupal.org/project/entity_clone)?

Cloner is inspired by **Entity Clone**, but uses a different approach to achieve the result. There is a list of things you need to know, why it exists, and what's make it different:
Cloner is inspired by **Entity Clone**, but uses a different approach to
achieve the result. There is a list of things you need to know, why it exists,
and what's make it different:

 * Cloner is targeted primarily **for developers**.
 * Cloner is utilizing powerful Drupal 8 Plugin system.
 * Cloner **do not** add clone support for any entity type on site. You must write it manually.
 * Cloner **do not** add operations to entities unless you create ClonerForm plugin and ask for it.
 * Cloner have a separate plugin for UI, and clone possibilities, to expose it to content managers.
 * With Cloner you can create as many Cloner plugins, as you want, even for the same entity type and bundle combination.
 * With Cloner, you write how an entity must be cloned and all behavior, there is now predefined cloners.
 * Cloner **do not** add clone support for any entity type on site.
   You must write it manually.
 * Cloner **do not** add operations to entities unless you create
   ClonerForm plugin and ask for it.
 * Cloner have a separate plugin for UI, and clone possibilities,
   to expose it to content managers.
 * With Cloner you can create as many Cloner plugins, as you want,
   even for the same entity type and bundle combination.
 * With Cloner, you write how an entity must be cloned and all behavior,
   there is now predefined cloners.
 * You can call Cloner clone plugins directly in the code and utilize them.

So, this means Entity Clone is the more user-friendly module, which works with zero-configuration, but has drawbacks, if you have very complex entities and fields in it. Cloner, on the other hand, will not do anything, before the developer does something. This requires time to write the cloning process, as a reward, you will get full control over cloning, and every complex entity type can be handled easily.
So, this means Entity Clone is the more user-friendly module, which works
with zero-configuration, but has drawbacks, if you have very complex entities
and fields in it. Cloner, on the other hand, will not do anything, before the
developer does something. This requires time to write the cloning process, as a
reward, you will get full control over cloning, and every complex entity type
can be handled easily.

REQUIREMENTS
------------
@@ -44,7 +58,9 @@ INSTALLATION
CONFIGURATION
-------------

There is no UI to configure the module out of the box. This module requires you to write a bit of code. For further information look at docs folder or cloner_examples module shipped with it.
There is no UI to configure the module out of the box. This module requires you
to write a bit of code. For further information look at docs folder or
cloner_examples module shipped with it.


MAINTAINERS