Changed description of Published field

This commit is contained in:
naomi 2021-09-13 14:31:12 +01:00
parent ac4e6eddd5
commit 48e6ae4196
5 changed files with 5 additions and 4 deletions

View File

@ -206,7 +206,7 @@ class OCCase extends RevisionableContentEntityBase implements OCCaseInterface {
// not currently used. Will add form and view settings when ready
$fields['status'] = BaseFieldDefinition::create('boolean')
->setLabel(t('Publishing status'))
->setDescription(t('A boolean indicating whether the Case is published.'))
->setDescription('If this box is not ticked this record will be hidden from view for most users. Users with access to unpublished entities will be able to restore it if needed.')
->setRevisionable(TRUE)
->setDisplayConfigurable("form", TRUE)
->setDefaultValue(TRUE);

View File

@ -242,7 +242,7 @@ class OCActivity extends RevisionableContentEntityBase implements OCActivityInte
$fields['status'] = BaseFieldDefinition::create('boolean')
->setLabel(t('Publishing status'))
->setDescription(t('A boolean indicating whether the Activity is published.'))
->setDescription('If this box is not ticked this record will be hidden from view for most users. Users with access to unpublished entities will be able to restore it if needed.')
->setRevisionable(TRUE)
->setDisplayConfigurable('form', TRUE)
->setDefaultValue(TRUE);

View File

@ -215,7 +215,7 @@ class OCActor extends RevisionableContentEntityBase implements OCActorInterface
$fields['status'] = BaseFieldDefinition::create('boolean')
->setLabel(t('Publishing status'))
->setDescription(t('Whether this record is published.'))
->setDescription('If this box is not ticked this record will be hidden from view for most users. Users with access to unpublished entities will be able to restore it if needed.')
->setRevisionable(TRUE)
->setDisplayConfigurable("form", true)
->setDefaultValue(TRUE);

View File

@ -169,7 +169,7 @@ class OCEvent extends ContentEntityBase implements OCEventInterface {
$fields['status'] = BaseFieldDefinition::create('boolean')
->setLabel(t('Publishing status'))
->setDescription(t('Whether this record is published.'))
->setDescription('If this box is not ticked this record will be hidden from view for most users. Users with access to unpublished entities will be able to restore it if needed.')
->setRevisionable(TRUE)
->setDisplayConfigurable("form", true)
->setDefaultValue(TRUE);

View File

@ -458,6 +458,7 @@ class OCOrganisation extends EditorialContentEntityBase implements OCOrganisatio
$fields['status'] = BaseFieldDefinition::create('boolean')
->setLabel(t('Published'))
->setDescription('If this box is not ticked this record will be hidden from view for most users. Users with access to unpublished entities will be able to restore it if needed.')
->setRevisionable(TRUE)
->setDisplayConfigurable("form", true)
->setDefaultValue(TRUE);