This module provides a machine name field.

If you just need a stand-alone machine name field (a field with a value that will never change for same reason), use this. If you want two fields tied together (a frequent UI pattern in Drupal core), use Safeword.

Historical information and motivation regarding this module

2011年10月26日: The module was created by beejeebus and hunmonk for the D7 Version of the Project-Project (Report from Project 7.x-2.0 BADCamp Sprint):

This takes advantage of the D7 FormAPI machine_name form element #type and exposes it as a Field API field you can attach to any entity bundle. We’re using this for the project shortname on project node types, but since it could be useful to anyone, we published it as a separate project.

2012年04月24日: C_Logemann Is the new Maintainer.

Safeword is a similar module. However, it depends on using a related text field and the machine name is auto-generated from that:

Safeword module provides a standard text field and when text is input displays a matching machine name field which automatically converts the text into a machine name formatted version, which can also be hand edited.

Supporting organizations:
Module maintenance
D8/D9/D10 maintenance.
Maintenance & Support

Project information

Releases

8.x-1.0-alpha1 released 6 September 2025
Works with Drupal: ^8 || ^9 || ^10 || ^11

First alpha release. Works with D10/D11

Install:

Development version: 8.x-1.x-dev updated 23 Sep 2025 at 12:00 UTC