[Drupal] How to add a machine name for the node title

| | 1 min read

In one of my recent projects i came across a situation where i had to add a machine name for the node title. If you have ever came across such a situation Drupal safeword is your friend.

  • Download and enable the safeword module.
  • Add a new field to the content type to which you have to add the machine name.
  • Select field type as "Machine name from node title" and widget as "Machine name".
  • Save the content type

Now you have the machine name for node title. You can use this module for node title or taxonomy term name field as the source of the machine name in your project.

You may also look into other solved issues related to Drupal module configurations over here.