civicrm_calc_viewonlyFieldDef

CiviCRM custom fields can be set to View Only so that they cannot be edited from within the interface.