How to hide field from entity display view programmatically? I am adding field inside module.install file to specified entity. I want to hide this field from display. How can I do that?
Anyway found solution, example of field instance:

field_create_instance(array(
    'field_name' =&gt; FIELD_GALLERY_VIEW_FIELD_NAME,
    'entity_type' =&gt; 'node',
    'bundle' =&gt; 'article',
    'label' =&gt; t('Choose gallery View'),
    'description' =&gt; t('Gallery view type for display gallery field collection'),
    'widget' =&gt; array(
        'type' =&gt; 'OPTIONS_SELECT',
        'weight' =&gt; 0,
        'settings' =&gt; array('size' =&gt; 50),
    ),
    'display' =&gt; array(
        'default' =&gt; array(
            'label' =&gt; 'hidden',
            'settings' =&gt; array(),
            'weight' =&gt; 1,
            'type' =&gt; 'hidden'
        ),
        'teaser' =&gt; array(
            'label' =&gt; 'hidden',
            'settings' =&gt; array(),
            'type' =&gt; 'hidden',
        ),
    ),
    'required' =&gt; TRUE,
));