A screenshot of this module restricting form submit on a new group due to the title already being in use.

This project is not covered by Drupal’s security advisory policy.

This module is setup to allow you to ensure that groups or nodes inside of a group (group content) have unique titles. You can enable either/or of these two functionalities, so if you just want to ensure a given group title is unique for it's group type, you can do that! You can also just restrict node titles in a given group to be unique. Please note though that the node title unique functionality is built around a 1:1 relationship. If a node type can exist in multiple group types this module is currently not setup to handle that.

Requirements

-Built around group 1.x (not sure if it'll work elsewhere)
-1:1 relationship of nodes to groups for a given node type to check unique titles correctly.
-Group 1.x, hook_event_dispatcher 4.x, and Drupal 10.x

Installation:

-Enable the module like a standard module
-Navigate to admin/group/unique-titles-settings
-Enable/disable functionality and select group and/or gnode types you want to verify unique titles on.

Incase the unique title validation is being added incorrectly to other forms:

You can add form ID's to exclude in the form IDs to exclude box on the bottom of the settings page. If a form with that form ID is loaded, the code won't add any validation to the form.

Supporting organizations: 
Paid me to work on this project during a technical debt sprint

Project information

Releases