I’m trying to create a custom module for payment. When installed, the module automatically adds two fields to the ‘Article‘ content type.
I have ‘enable/disable checkbox’ in the form:
Enable: Should mean that people on my live website can use it
Disable: Should mean that no-one can use it (I don’t want to remove the variables or the fields in the article content typ, I just want to hide everything in relation with the module)
Is there any hook or any thing that can do that? Turn the module off?