This module allows for saving of all nodes for a specific content type or for all types.
Features
- Admin form which uses Batch API to save all nodes.
- Drush command which also triggers the Batch API process.
- Setting for saving any translations attached to node.
- Setting for regenerating alias on nodes saved.
- Setting for creating new revision on nodes saved.
- Configure chunk size for the number of nodes to process per batch process.
Requirements
No major requirements, but leverages core nodes and pathauto.
Install/Usage
composer require drupal/save_all_nodes
drush en save_all_nodes
- Install and enable module like any other contrib module.
- Configure settings for module:
/admin/config/development/save-all-nodes/settings - Once configured, run batch process from here:
/admin/config/development/save-all-nodes - Can also run batch process via Drush command as well. See below for more information.
Drush Command
Replace {content_type} with machine name for the node content type.
Like 'page' for Basic page content type.
drush save-all-nodes <content-type>
Eg.
drush save-all-nodes page
Defaults to page if no content type is provided.
Project information
Minimally maintained
Maintainers monitor issues, but fast responses are not guaranteed.Maintenance fixes only
Considered feature-complete by its maintainers.- Project categories: Administration tools, Content editing experience, Developer tools
85 sites report using this module
- Created by geoanders on , updated
Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.



