For now it's not implemented yet in D8 version. I should find a way to detect the type of form. Is it creation or editing.

CommentFileSizeAuthor
#4 disable_field-2679195-4.patch2.83 KBajay_reddy
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

eugene.ilyin created an issue. See original summary.

eugene.ilyin’s picture

Version: 7.x-1.x-dev » 8.x-1.x-dev
eugene.ilyin’s picture

Almost done

ajay_reddy’s picture

Status: Active » Needs review
FileSize
2.83 KB
AsadKamil’s picture

Status: Needs review » Reviewed & tested by the community

Hi Ajay,
The patch is applied cleanly to 8.x branch and this module is working for all fields except comments.
Thanks...

root@asad-Vostro-3550:/var/www/html/MyWebsite/drupal-8.1.6/modules/disable_field# git apply -v disable_field-2679195-4.patch 
Checking patch disable_field.module...
Applied patch disable_field.module cleanly.

ajay_reddy’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.