Closed (fixed)
Project:
Disable Field
Version:
8.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
26 Sep 2018 at 11:00 UTC
Updated:
14 Dec 2019 at 23:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
ajay_reddyComment #3
jeroentIt would be nice to support this, but currently I don't have a simple solution for this. But I'm afraid that this wil change the behaviour of this module structurally. Currently we're saving the settings as a third_party_settings on the field config. But afaik, this isn't possible for base fields like a node title, published field, ...
Comment #4
jeroentComment #5
jeroentI was thinking again about this one and it was actually pretty simple. There already is a module that creates a ui for editing base fields (https://www.drupal.org/project/base_field_override_ui). When that module is enabled, we add the disable_field config form like on the field_config form. The actual disabling of the fields was already working for base fields.
Comment #7
jeroentCommitted and pushed to 8.x-2.x. Thanks!