Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Supporting organizations:
Module development and maintenance
Module maintenance
Issue fixing, module maintenance
Project information
- Module categories: Access Control, Site Structure
- 2,343 sites report using this module
- Created by ajay_reddy on , updated
- Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.
Releases
3.0.2
released 18 August 2022
Works with Drupal: ^9.2 || ^10
✓ Recommended by the project’s maintainer.
Added support for Drupal 10
Install:
Development version: 3.0.x-dev updated 18 Mar 2024 at 09:38 UTC
7.x-1.3
released 8 November 2016
Works with Drupal: 7.x
✓ Recommended by the project’s maintainer.
Development version: 7.x-1.x-dev updated 8 Nov 2016 at 13:08 UTC