Inside "Article" type, I have a field called 'field_xenforo_thread_id' (machine name), It's possible to disable the "Delete" option only for this field and only if my module is activated please ?

If the module is activated and if the administrator remove this field, the module is broken and I want prevent this problem.

1 Answer 1


The module field lock allows you to lock fields for certain roles. You can use that module out of the box or you can copy it and adjust it so that the fields only lock if your module is activated.

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.