Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Period Lock

No security coverage Under active development

Period Lock locks content dated in closed accounting periods. Once a month is closed, nobody can create, edit or delete records dated in it, so the figures that were reported stay the figures in the system.

It was built for financial and administrative sites where Drupal entities record transactions, invoices or payments, and an accounting close must be respected.

Features

  • Choose, per content type, the Date or Date range fields that decide which period a record belongs to. With several fields, the earliest date counts.
  • One closing date: everything dated on or before it is locked.
  • Two layers: entity access hides Edit and Delete and returns 403, and an entity validation constraint refuses new or moved records in closed periods wherever entities are validated (forms, REST, JSON:API).
  • Optional "new records only" mode while a period is under review.
  • Separate permissions to move the closing date forward, to reopen closed periods and to bypass the lock.

Requirements

Drupal 10.3 or later, or Drupal 11, and the core Datetime module. No contributed modules or libraries.

Similar modules

  • Content Lock prevents two people from editing the same content at the same time.
  • Content Freeze freezes editing for the whole site.

Period Lock is different: it locks records by their own dates, like an accounting close.

Drupal 10–11 PHP 8.1

Ask your assistant about Period Lock

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

  • datetime Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
Nov 2026
Latest release
4 hours ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Active

Releases

Version Type Core PHP Release date
1.0.0 Stable 10–11 PHP 8.1 Nov 26, 2026