Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Node Weights

Security covered Maintenance fixes only 1,104 sites

The Node Weight module adds a configurable weight field to content types, allowing administrators to define a custom order for nodes. This order can then be used for sorting content in views or custom queries, and weights can be managed on node forms or through a table-drag interface.

Node Weight module provides a weight field that can be added to any content type. The weight field can then be used to provide customized sorting via views or custom query.

Requirements

This module requires no modules outside of Drupal core.

Install

Install the Node Weight module as you would normally install a contributed Drupal module.

Visit https://www.drupal.org/node/1897420 for further information.

Can also be installed via composer:

composer require drupal/node_weight
drush en node_weight

Features

  • Configure/enable node weights for certain content types.
  • Table-drag interface to manage node ordering.
  • Node weight can also be updated on node add/edit forms.
  • Supports translatable node weight field. Store weight per node translation.
  • Leverages Batch API to update node weights.

Configuration

  1. Navigate to Administration > Extend and enable the Node Weight module.
  2. Navigate to Structure > Node Weights.
  3. Enable Node Weight for chosen node types.
  4. Navigate to Structure > Node Weights > Content Type
  5. Arrange nodes in desired order.
  6. Save changes.
  7. Use field_node_weight in Views Sort Criteria or any other entities to sort content.

It is also possible to set weight on content edit form using the node weight field.

Drupal 10–11

Ask your assistant about Node Weights

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

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
3
Tracked since
Apr 2025
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 3
Maintenance
Dormant

Release Timeline

Releases

Version Type Core PHP Release date
3.0.0 Stable 10–11 Apr 25, 2025
3.x-dev Dev 10–11 Apr 25, 2025
8.x-2.7 Stable 8–10 Apr 25, 2025