Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Save All Nodes

Security covered Maintenance fixes only 87 sites

This module provides a way to resave all nodes, either for a specific content type or for all types. It offers administrative settings to control whether translations are saved, aliases are regenerated, and new revisions are created, and can be run via the administration interface or a Drush command.

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
  1. Install and enable module like any other contrib module.
  2. Configure settings for module:
    /admin/config/development/save-all-nodes/settings
  3. Once configured, run batch process from here:
    /admin/config/development/save-all-nodes
  4. 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.

Drupal 10 · not 11

Ask your assistant about Save All Nodes

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

  • node Drupal core
  • pathauto Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

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

Release Timeline

Releases

Version Type Core PHP Release date
2.0.0 Stable 10 Jul 19, 2023
1.0.3 Stable 8–9 Jul 19, 2023
2.x-dev Dev 10 Jul 19, 2023
1.0.2 Stable 8–10 Jun 28, 2023