This project is not covered by Drupal’s security advisory policy.

What is this module?

Content split module split the content from one content type to another.
Note: This module is not copying any data. It’s not using any kind of migration.
Description: This module has a configuration page “/admin/config/system/content_split/content_split_settings” where you will find the form to perform the content split. It also has the help page “/admin/help/content_split”.
You will probably need this module for one-time usage.

When to use?

1) If you have too much content in one content type and want to split it based on taxonomy terms
2) If you have different categorized data in one content type and you need to apply workflow based on taxonomy. (This was the case for me which inspired to create this module)

How to use?

Pre-requirements:

1) At least two content types with the same number and machine name. In order to do that, you can clone your content type either manually or using this module: Clone entity type “https://www.drupal.org/project/entity_type_clone
2) Queue UI module, it’s recommended but not required. It will show you the progress of items getting moved to another content type. It is also useful to perform the updates immediately.

Example:

1) Let’s say we have first content type “Document” (machine_name: “document”) and second content type “Special Document” (machine_name: “special_document”) with the following field: title, body, file_attachment, document_type(entity reference “taxonomy”)
Note: Both content type needs to have same field’s machine name
2) Now go to “/admin/config/system/content_split/content_split_settings” and select the destination content type from the select list. If any other content type has a similar number and same machine name fields available, then it will be visible in the second select box. Otherwise, it will show a message.
3) Now, select the destination content type from the second dropdown which is Special document in this example. Also, it will show you the filters. In this case, it will show the taxonomy drop down which will be used to separate the content which needs to be copied.
Now, In this part, if you don’t have any filters then all the content will be moved to another content type. So, use it carefully.
4) It uses drupal-core queue feature to perform the updates safely.

Note:

If by mistake you split all the content to another content type then you can re-use this and move your content back to your original content type.

Supporting organizations: 
infrastructure

Project information

Releases