From b194367eef6460ef61b921b4d97060aa64322fdb Mon Sep 17 00:00:00 2001 From: naomi Date: Fri, 10 Dec 2021 09:45:22 +0000 Subject: [PATCH] changed label of published checkbox to "Visible" --- modules/opencase_cases/src/Entity/OCCase.php | 2 +- modules/opencase_entities/src/Entity/OCActivity.php | 2 +- modules/opencase_entities/src/Entity/OCActor.php | 2 +- modules/opencase_entities/src/Entity/OCEvent.php | 2 +- modules/opencase_entities/src/Entity/OCOrganisation.php | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/modules/opencase_cases/src/Entity/OCCase.php b/modules/opencase_cases/src/Entity/OCCase.php index 2b422b2..b2d5746 100644 --- a/modules/opencase_cases/src/Entity/OCCase.php +++ b/modules/opencase_cases/src/Entity/OCCase.php @@ -210,7 +210,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')) + ->setLabel(t('Visible')) ->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) diff --git a/modules/opencase_entities/src/Entity/OCActivity.php b/modules/opencase_entities/src/Entity/OCActivity.php index c9c50af..d859317 100644 --- a/modules/opencase_entities/src/Entity/OCActivity.php +++ b/modules/opencase_entities/src/Entity/OCActivity.php @@ -233,7 +233,7 @@ class OCActivity extends RevisionableContentEntityBase implements OCActivityInte ]); $fields['status'] = BaseFieldDefinition::create('boolean') - ->setLabel(t('Publishing status')) + ->setLabel(t('Visible')) ->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) diff --git a/modules/opencase_entities/src/Entity/OCActor.php b/modules/opencase_entities/src/Entity/OCActor.php index a916f15..daee57d 100644 --- a/modules/opencase_entities/src/Entity/OCActor.php +++ b/modules/opencase_entities/src/Entity/OCActor.php @@ -219,7 +219,7 @@ class OCActor extends RevisionableContentEntityBase implements OCActorInterface $fields = parent::baseFieldDefinitions($entity_type); $fields['status'] = BaseFieldDefinition::create('boolean') - ->setLabel(t('Publishing status')) + ->setLabel(t('Visible')) ->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) diff --git a/modules/opencase_entities/src/Entity/OCEvent.php b/modules/opencase_entities/src/Entity/OCEvent.php index 99b430d..08f813a 100644 --- a/modules/opencase_entities/src/Entity/OCEvent.php +++ b/modules/opencase_entities/src/Entity/OCEvent.php @@ -168,7 +168,7 @@ class OCEvent extends ContentEntityBase implements OCEventInterface { ->setRequired(TRUE); $fields['status'] = BaseFieldDefinition::create('boolean') - ->setLabel(t('Publishing status')) + ->setLabel(t('Visible')) ->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) diff --git a/modules/opencase_entities/src/Entity/OCOrganisation.php b/modules/opencase_entities/src/Entity/OCOrganisation.php index 4456d04..3625f01 100644 --- a/modules/opencase_entities/src/Entity/OCOrganisation.php +++ b/modules/opencase_entities/src/Entity/OCOrganisation.php @@ -462,7 +462,7 @@ class OCOrganisation extends EditorialContentEntityBase implements OCOrganisatio ->setRequired(TRUE); $fields['status'] = BaseFieldDefinition::create('boolean') - ->setLabel(t('Published')) + ->setLabel(t('Visible')) ->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)