2

Is there a way to replace the "title" field from a custom content type with an auto-increment ID? Since the Automatic Nodetitles module does not have a Drupal 8 version, is there a way to do it using hooks?

5
  • Title is a required field, Automatic Nodetitles would do this... as far as I know no ones proposed a cleaner, scalable solution over what AN can do.
    – Kevin
    Commented Jan 14, 2017 at 15:50
  • @Kevin Thank you for your answer. However, there is no Automatic Nodetitles version for drupal 8... Commented Jan 14, 2017 at 16:00
  • 1
    Check the answers posted here: drupal.stackexchange.com/questions/183477/…
    – Kevin
    Commented Jan 14, 2017 at 17:59
  • @Kevin thank you very much for your answer. It was indeed very helpful. Commented Jan 15, 2017 at 16:29
  • @PantelisNatsiavas There is another module drupal.org/project/auto_entitylabel you can use. Commented Jan 19, 2017 at 11:12

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.