Coder Social home page Coder Social logo

cloner's Introduction

CONTENTS OF THIS FILE

  • Introduction
  • Requirements
  • Installation
  • Configuration
  • Maintainers

INTRODUCTION

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?

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.
  • 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.

REQUIREMENTS

This module requires no modules outside of the Drupal core.

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.

MAINTAINERS

cloner's People

Contributors

chesn0k avatar niklan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.