Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Views Bootstrap 5.5.4 — Minor update available for module views_bootstrap (5.5.4). Release: Rightup theme 1.0.3 — Minor update available for theme vartheme_bs5_rightup (1.0.3). Release: CommentOn 1.0.6 — Minor update available for module commenton (1.0.6). Release: ChatGPT Ads 1.0.3 — Minor update available for module chatgpt_ads (1.0.3). Release: Opensolr Search 5.1.3 — Minor update available for module opensolr_search (5.1.3). Release: ServiceM8 Webform Integration 1.2.1 — Minor update available for module servicem8_webform (1.2.1). Release: PostfixAdmin 1.0.0 — Initial release available for module postfix_admin (1.0.0)! Release: ip_analyser 1.0.3 — Minor update available for module ip_analyser (1.0.3). Module Revived: Swagger-PHP OpenAPI 3 documentation generator 1.0.0 — Module swagger_php updated after 10 months of inactivity (1.0.0). Security Coverage: Microsoft Azure AI — Module ai_provider_azure now has official Drupal security advisory coverage.

Module to generate sets of random word combinations, where you can combine words from two word sets to a unique combination. You will provide the words, separated by space, for each side of the combination.

You can have as many sets as you like, and for each set you can decide if the module should ensure that the generated combination is unique, or not. If you decide it to be unique, there will be added database records keeping track of the generated combinations, and you will not be able to generate more after you run out of possible combinations. This will add some overhead to the set. Admins can delete (flush) generated combinations.

You can also decide if you want to generate a token for the set, which will provide you with a token of the random combination you can use in other modules that accepts tokens.

Use cases:

  • You'd like a rememberable word combination to use as a random name for a group / content entity or similar
  • You'd like a rememberable confirmation code
  • You have some other reasons to combine words.

Usage:

You would typically use it either through tokens, or through the service the module provides.

The service can be used like:

\Drupal::service('random_word_combo.combiner')->getRandomCombo('machine_name_of_set', $dryRun = FALSE);

If you set $dryRun to TRUE, the combination will not be saved, even if ensure unique is enabled.

Alternatively, you can generate one manually through the UI.

Post-Installation

Manage the module under Structure -> Random Word Combos. Add new sets, or modify the default one.

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
3
Tracked since
Mar 2024
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Dormant

Release Timeline

Releases

Version Type Core Release date
1.0.0-alpha2 Pre-release Aug 8, 2024
1.0.x-dev Dev Apr 4, 2024
1.0.0-alpha1 Pre-release Mar 31, 2024