moved consent field to opencase_defaults and removed automatic "see all people" menu links
This commit is contained in:
@ -283,17 +283,6 @@ class OCActor extends RevisionableContentEntityBase implements OCActorInterface
|
||||
])
|
||||
->setRequired(TRUE);
|
||||
|
||||
$fields['consent'] = BaseFieldDefinition::create('boolean')
|
||||
->setLabel(t('Consent to data storage'))
|
||||
->setDescription(t('Has this person explicitly consented to having their personal data stored on this system?'))
|
||||
->setRevisionable(TRUE)
|
||||
->setDefaultValue(FALSE)
|
||||
->setRequired(TRUE)
|
||||
->setDisplayOptions('form', array(
|
||||
'type' => 'boolean_checkbox',
|
||||
'weight' => -6,
|
||||
));
|
||||
|
||||
// Contact details.
|
||||
// so it is not exposed to user configuration.
|
||||
$fields['email'] = BaseFieldDefinition::create('string')
|
||||
|
Reference in New Issue
Block a user