Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Views Bootstrap 5.5.4 — Minor update available for module views_bootstrap (5.5.4). Release: Rightup theme 1.0.3 — Minor update available for theme vartheme_bs5_rightup (1.0.3). Release: CommentOn 1.0.6 — Minor update available for module commenton (1.0.6). Release: ChatGPT Ads 1.0.3 — Minor update available for module chatgpt_ads (1.0.3). Release: Opensolr Search 5.1.3 — Minor update available for module opensolr_search (5.1.3). Release: ServiceM8 Webform Integration 1.2.1 — Minor update available for module servicem8_webform (1.2.1). Release: PostfixAdmin 1.0.0 — Initial release available for module postfix_admin (1.0.0)! Release: ip_analyser 1.0.3 — Minor update available for module ip_analyser (1.0.3). Module Revived: Swagger-PHP OpenAPI 3 documentation generator 1.0.0 — Module swagger_php updated after 10 months of inactivity (1.0.0). Security Coverage: Microsoft Azure AI — Module ai_provider_azure now has official Drupal security advisory coverage.

Content Split

No security coverage
View on drupal.org

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.

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
Jul 2023
Latest release
3 years ago
Releases (12 mo)
0
Maintenance
Dormant

Releases

Version Type Core Release date
1.0.1 Stable Jul 19, 2023