Module Description
Introduction
* Disable Field module help(s) you to disable the field of any content type and commerce product too based on Role selected By Admin.
Installation
Drupal 7:
* Install as you would normally install a contributed drupal module. See: https://drupal.org/documentation/install/modules-themes/modules-7 for further information.
Drupal 8:
* Install as you would normally install a contributed drupal module. See: https://drupal.org/documentation/install/modules-themes/modules-8 for further information.
Configuration
Drupal 7:
* After installation of Disable Field module Clear all cache first (Important to do this).
* Go to admin/structure/types/manage/any-content-type/fields.
* Edit any field, then you can see "Do you want to make this field disable?"
* You can select where to disable field along with Roles.
Drupal 8:
* After installation of module Clear all cache first (Important to do this).
* Go to admin/structure/types/manage/*/fields.
* Edit any field, and click Field Settings tab then you can enable option "Disable field"
* Select where to disable (add/edit) and add roles.
* For base fields (e.g. title), use Base Field Override UI and visit /admin/structure/types/manage/{any-content-type}/fields/base-field-override.
* Disable Field module help(s) you to disable the field of any content type and commerce product too based on Role selected By Admin.
Installation
Drupal 7:
* Install as you would normally install a contributed drupal module. See: https://drupal.org/documentation/install/modules-themes/modules-7 for further information.
Drupal 8:
* Install as you would normally install a contributed drupal module. See: https://drupal.org/documentation/install/modules-themes/modules-8 for further information.
Configuration
Drupal 7:
* After installation of Disable Field module Clear all cache first (Important to do this).
* Go to admin/structure/types/manage/any-content-type/fields.
* Edit any field, then you can see "Do you want to make this field disable?"
* You can select where to disable field along with Roles.
Drupal 8:
* After installation of module Clear all cache first (Important to do this).
* Go to admin/structure/types/manage/*/fields.
* Edit any field, and click Field Settings tab then you can enable option "Disable field"
* Select where to disable (add/edit) and add roles.
* For base fields (e.g. title), use Base Field Override UI and visit /admin/structure/types/manage/{any-content-type}/fields/base-field-override.
Module Link
Project Usage
2255
Security Covered
Covered By Security Advisory
Version Available
Production
Module Summary
This module aims to solve the issue of disabling fields for specific roles in Drupal content types and commerce products.
Data Name
disable_field