disable_field
2,808 sites
Security covered
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.