Save All Nodes
Security covered
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.
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.