Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
We need to hide the machine name field form editors. Right now the machine name field is visible and editable for everyone who has permissions to edit the node.
Comment | File | Size | Author |
---|---|---|---|
#4 | defaultcontent_1160250_4.drushmake.patch | 951 bytes | jamsilver |
#2 | defaultcontent-n1160250.patch | 959 bytes | DamienMcKenna |
Comments
Comment #1
DamienMcKennaHow's about this? It adds the 'edit node machine name' permission and only shows the form field if you have that permission.
Comment #2
DamienMcKennaOh wait, the patch itself would be useful =)
Comment #3
smk-ka CreditAttribution: smk-ka commentedLooks good!
Comment #4
jamsilver CreditAttribution: jamsilver commentedJust for my own drush make purposes more than anything - here is the same again without the prefix. Patch looks good!
Comment #5
mrfelton CreditAttribution: mrfelton commentedLooks good, works for me. Thanks.
Comment #6
Mike Dodd CreditAttribution: Mike Dodd commentedWorks good for me, thanks
Comment #7
czigor CreditAttribution: czigor commentedWorks for me too.
Comment #8
Anonymous (not verified) CreditAttribution: Anonymous commentedPatched my defaultcontent.module and tested it. The patch works for me and should be committed.
Comment #9
goron CreditAttribution: goron commentedI'm using this patch now. Works well.
Comment #10
pcho CreditAttribution: pcho commentedApplied DamienMckenna's patch after further review.