Disable profile field when module that created it is disabled? I have created a module that adds a field to the user profile. When I disable the module, I want the field to no longer be shown on the user profile. I do not want to wipe it out completely, since I do that on uninstall. I want it to come back with the original data when the module is reenabled I just want to have it not display when the module is disabled. Is there a way to do this? I am using Drupal 7 and the field is a text field and it is set to the default formatter when I create the instance. Is there a setting I can set the instance to in hook_uninstall that will hide it?
I managed to accomplish it through code by setting the field instance: 

    'display'       =&gt; array
      'default'     =&gt; array(
        'label'     =&gt; 'above',
        'type'      =&gt; 'hidden',
        'weight'    =&gt; '1',
        'settings'  =&gt; array(),
      ),
    ),