Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Required by Content Moderation state

Security covered Under active development 13 sites

This module makes fields optional until an entity reaches a specific content moderation state, at which point they become required. This allows for fields to be mandatory only when content is ready for review or publishing.

This module allows fields to only be required when their associated entity reaches a certain Content Moderation state. For example, you could keep a certain field optional while editors are working on a draft and mark it as required when they are marking the entity as ready for review, or when they try to publish the entity themselves.

Post-Installation

After installing the module, visit the edit form of the field you want to change and under 'Choose a required strategy' choose 'Required by Content Moderation state'. Aftwerwards, you can choose which Content Moderation states should make the field required.

Similar projects

  • Required by role: allows fields to only be required when the current user has a certain role.
Drupal 10–11

Ask your assistant about Required by Content Moderation state

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

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

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

Release Timeline

Releases

Version Type Core PHP Release date
1.0.0 Stable 10–11 Jul 8, 2025
1.0.0-beta1 Pre-release 10–11 Dec 9, 2024
1.0.x-dev Dev 10–11 Dec 9, 2024