From 607267e858e4f685c0ec5531fb9612f9e6808574 Mon Sep 17 00:00:00 2001 From: Christian Burk <766573+omahane@users.noreply.github.com> Date: Fri, 13 Dec 2024 16:26:57 -0600 Subject: [PATCH 01/11] VACMS-19967: Removes toggle configuration and dependent code --- config/sync/feature_toggle.features.yml | 1 - .../src/Service/PostFacilityStatus.php | 29 ++++------ .../EventSubscriber/EntityEventSubscriber.php | 54 ------------------- .../VAMCEntityEventSubscriber.php | 54 ------------------- 4 files changed, 11 insertions(+), 127 deletions(-) diff --git a/config/sync/feature_toggle.features.yml b/config/sync/feature_toggle.features.yml index 4e57ae8345..55526632ee 100644 --- a/config/sync/feature_toggle.features.yml +++ b/config/sync/feature_toggle.features.yml @@ -59,5 +59,4 @@ features: feature_next_build_content_vha_facility_nonclinical_service: FEATURE_NEXT_BUILD_CONTENT_VHA_FACILITY_NONCLINICAL_SERVICE feature_next_build_content_vet_center_mobile_vet_center: FEATURE_NEXT_BUILD_CONTENT_VET_CENTER_MOBILE_VET_CENTER feature_next_build_content_vet_center_outstation: FEATURE_NEXT_BUILD_CONTENT_VET_CENTER_OUTSTATION - feature_telephone_migration_v1: FEATURE_TELEPHONE_MIGRATION_V1 feature_banner_use_alternative_banners: FEATURE_BANNER_USE_ALTERNATIVE_BANNERS diff --git a/docroot/modules/custom/va_gov_post_api/src/Service/PostFacilityStatus.php b/docroot/modules/custom/va_gov_post_api/src/Service/PostFacilityStatus.php index 79b29636df..8e04ad4e02 100644 --- a/docroot/modules/custom/va_gov_post_api/src/Service/PostFacilityStatus.php +++ b/docroot/modules/custom/va_gov_post_api/src/Service/PostFacilityStatus.php @@ -448,25 +448,18 @@ protected function shouldPushSystem(NodeInterface $entity) { * The mental health phone number. */ protected function getFacilityMentalHealthPhone(): string { - $status = $this->featureStatus->getStatus('feature_telephone_migration_v1'); - // Return the original phone until the feature toggle is turned on. - if (!$status) { - return $this->getFieldSafe('field_mental_health_phone'); + if (!$this->facilityNode->hasField('field_telephone')) { + return ''; } - else { - if (!$this->facilityNode->hasField('field_telephone')) { - return ''; - } - $telephone_paragraph_id = $this->facilityNode->get('field_telephone')->target_id; - if (empty($telephone_paragraph_id)) { - return ''; - } - $telephone_paragraph = $this->entityTypeManager->getStorage('paragraph')->load($telephone_paragraph_id); - $mental_health_phone = $telephone_paragraph->get('field_phone_number')->value ?? ''; - $mental_health_extension = $telephone_paragraph->get('field_phone_extension')->value ?? ''; - if (!empty($mental_health_extension)) { - $mental_health_phone .= ', ext. ' . $mental_health_extension; - } + $telephone_paragraph_id = $this->facilityNode->get('field_telephone')->target_id; + if (empty($telephone_paragraph_id)) { + return ''; + } + $telephone_paragraph = $this->entityTypeManager->getStorage('paragraph')->load($telephone_paragraph_id); + $mental_health_phone = $telephone_paragraph->get('field_phone_number')->value ?? ''; + $mental_health_extension = $telephone_paragraph->get('field_phone_extension')->value ?? ''; + if (!empty($mental_health_extension)) { + $mental_health_phone .= ', ext. ' . $mental_health_extension; } return $mental_health_phone; diff --git a/docroot/modules/custom/va_gov_profile/src/EventSubscriber/EntityEventSubscriber.php b/docroot/modules/custom/va_gov_profile/src/EventSubscriber/EntityEventSubscriber.php index 5ef80b7419..53a6632fb8 100644 --- a/docroot/modules/custom/va_gov_profile/src/EventSubscriber/EntityEventSubscriber.php +++ b/docroot/modules/custom/va_gov_profile/src/EventSubscriber/EntityEventSubscriber.php @@ -6,7 +6,6 @@ use Drupal\Core\StringTranslation\StringTranslationTrait; use Drupal\core_event_dispatcher\EntityHookEvents; use Drupal\core_event_dispatcher\Event\Entity\EntityTypeAlterEvent; -use Drupal\core_event_dispatcher\Event\Entity\EntityViewAlterEvent; use Drupal\core_event_dispatcher\Event\Form\FormIdAlterEvent; use Drupal\feature_toggle\FeatureStatus; use Drupal\va_gov_user\Service\UserPermsService; @@ -68,7 +67,6 @@ public static function getSubscribedEvents(): array { 'hook_event_dispatcher.form_node_person_profile_edit_form.alter' => 'alterStaffProfileNodeForm', 'hook_event_dispatcher.form_node_person_profile_form.alter' => 'alterStaffProfileNodeForm', EntityHookEvents::ENTITY_TYPE_ALTER => 'entityTypeAlter', - EntityHookEvents::ENTITY_VIEW_ALTER => 'entityViewAlter', ]; } @@ -86,38 +84,6 @@ public function entityTypeAlter(EntityTypeAlterEvent $event): void { } } - /** - * Alteration to entity view pages. - * - * @param \Drupal\core_event_dispatcher\Event\Entity\EntityViewAlterEvent $event - * The entity view alter service. - */ - public function entityViewAlter(EntityViewAlterEvent $event):void { - $this->showRenderedTelephone($event); - } - - /** - * Show the correct telephone field based on feature toggle for VACMS-17854. - * - * @param \Drupal\core_event_dispatcher\Event\Entity\EntityViewAlterEvent $event - * The entity view alter event. - */ - private function showRenderedTelephone(EntityViewAlterEvent $event) { - if ($event->getDisplay()->getTargetBundle() !== 'person_profile') { - return; - } - $build = &$event->getBuild(); - $status = $this->featureStatus->getStatus('feature_telephone_migration_v1'); - if ($status) { - // Hide the old telephone field, and, thereby, show the new one. - unset($build['field_phone_number']); - } - else { - // Hide the new telephone field, and, thereby, show the old one. - unset($build['field_telephone']); - } - } - /** * Form alterations for staff profile content type. * @@ -127,7 +93,6 @@ private function showRenderedTelephone(EntityViewAlterEvent $event) { public function alterstaffProfileNodeForm(FormIdAlterEvent $event): void { $this->addStateManagementToBioFields($event); $this->removePhoneLabel($event); - $this->showTelephone($event); } /** @@ -178,25 +143,6 @@ public function addStateManagementToBioFields(FormIdAlterEvent $event) { ]; } - /** - * Show the correct telephone field based on feature toggle for VACMS-17854. - * - * @param \Drupal\core_event_dispatcher\Event\Form\FormIdAlterEvent $event - * The form event. - */ - private function showTelephone($event) { - $form = &$event->getForm(); - $status = $this->featureStatus->getStatus('feature_telephone_migration_v1'); - if ($status) { - // Hide the old telephone field, and, thereby, show the new one. - unset($form['field_phone_number']); - } - else { - // Hide the new telephone field, and, thereby, show the old one. - unset($form['field_telephone']); - } - } - /** * Removes the phone label on staff profile content type forms. * diff --git a/docroot/modules/custom/va_gov_vamc/src/EventSubscriber/VAMCEntityEventSubscriber.php b/docroot/modules/custom/va_gov_vamc/src/EventSubscriber/VAMCEntityEventSubscriber.php index c7ca5fe537..271b43f2a9 100644 --- a/docroot/modules/custom/va_gov_vamc/src/EventSubscriber/VAMCEntityEventSubscriber.php +++ b/docroot/modules/custom/va_gov_vamc/src/EventSubscriber/VAMCEntityEventSubscriber.php @@ -158,35 +158,6 @@ public function __construct( public function entityViewAlter(EntityViewAlterEvent $event):void { $this->showUnspecifiedWhenSystemEhrNumberEmpty($event); $this->alterAppendedSystemHealthServices($event); - $this->showRenderedTelephone($event); - } - - /** - * Show the correct telephone field based on feature toggle for VACMS-17854. - * - * @param \Drupal\core_event_dispatcher\Event\Entity\EntityViewAlterEvent $event - * The entity view alter event. - */ - private function showRenderedTelephone(EntityViewAlterEvent $event) { - $node_type = $event->getEntity()->bundle(); - if ($node_type !== 'vamc_system_billing_insurance' && - $node_type !== 'health_care_local_facility') { - return; - } - // We want to hide the old mental health phone field on the facility node. - $old_field_to_hide = $node_type === 'health_care_local_facility' - ? 'field_mental_health_phone' : 'field_phone_number'; - - $build = &$event->getBuild(); - $status = $this->featureStatus->getStatus('feature_telephone_migration_v1'); - if ($status) { - // Hide the old telephone field, and, thereby, show the new one. - unset($build[$old_field_to_hide]); - } - else { - // Hide the new telephone field, and, thereby, show the old one. - unset($build['field_telephone']); - } } /** @@ -402,31 +373,6 @@ public function alterTopTaskNodeForm(FormIdAlterEvent $event): void { public function alterVamcSystemBillingAndInsuranceForm(FormIdAlterEvent $event) { $this->alterTopTaskNodeForm($event); $this->removePhoneLabel($event); - $this->showTelephone($event); - } - - /** - * Show the correct telephone field based on feature toggle for VACMS-17854. - * - * @param \Drupal\core_event_dispatcher\Event\Form\FormIdAlterEvent $event - * The form event. - */ - private function showTelephone($event) { - $form = &$event->getForm(); - $form_id = $form['#form_id']; - // We want to hide the old mental health phone field on the facility node, - // where there are two phone fields. - $old_field_to_hide = $form_id === 'node_health_care_local_facility_form' || $form_id === 'node_health_care_local_facility_edit_form' - ? 'field_mental_health_phone' : 'field_phone_number'; - $status = $this->featureStatus->getStatus('feature_telephone_migration_v1'); - if ($status) { - // Hide the old telephone field, and, thereby, show the new one. - unset($form[$old_field_to_hide]); - } - else { - // Hide the new telephone field, and, thereby, show the old one. - unset($form['field_telephone']); - } } /** From 66098965169b355ddc61e74f26e2f8e92769a371 Mon Sep 17 00:00:00 2001 From: Christian Burk <766573+omahane@users.noreply.github.com> Date: Fri, 13 Dec 2024 17:04:24 -0600 Subject: [PATCH 02/11] VACMS-19967: Removal of the rest of the code, one hopes --- .../src/Service/PostFacilityStatus.php | 13 +------------ .../va_gov_post_api/va_gov_post_api.services.yml | 2 +- .../src/EventSubscriber/EntityEventSubscriber.php | 12 ------------ .../va_gov_profile/va_gov_profile.services.yml | 2 +- .../EventSubscriber/VAMCEntityEventSubscriber.php | 1 - 5 files changed, 3 insertions(+), 27 deletions(-) diff --git a/docroot/modules/custom/va_gov_post_api/src/Service/PostFacilityStatus.php b/docroot/modules/custom/va_gov_post_api/src/Service/PostFacilityStatus.php index 8e04ad4e02..3a424f52a3 100644 --- a/docroot/modules/custom/va_gov_post_api/src/Service/PostFacilityStatus.php +++ b/docroot/modules/custom/va_gov_post_api/src/Service/PostFacilityStatus.php @@ -7,7 +7,6 @@ use Drupal\Core\Entity\EntityTypeManagerInterface; use Drupal\Core\Logger\LoggerChannelFactoryInterface; use Drupal\Core\Messenger\MessengerInterface; -use Drupal\feature_toggle\FeatureStatus; use Drupal\node\NodeInterface; use Drupal\post_api\Service\AddToQueue; use Drupal\va_gov_facilities\FacilityOps; @@ -46,13 +45,6 @@ class PostFacilityStatus extends PostFacilityBase implements PostServiceInterfac */ protected $additionalInfoToPush; - /** - * Feature Toggle status service. - * - * @var \Drupal\feature_toggle\FeatureStatus - */ - private FeatureStatus $featureStatus; - /** * Constructs a new PostFacilityStatus service object. * @@ -66,12 +58,9 @@ class PostFacilityStatus extends PostFacilityBase implements PostServiceInterfac * The messenger interface. * @param \Drupal\post_api\Service\AddToQueue $post_queue * The PostAPI service. - * @param \Drupal\feature_toggle\FeatureStatus $feature_status - * The Feature Status service. */ - public function __construct(ConfigFactoryInterface $config_factory, EntityTypeManagerInterface $entity_type_manager, LoggerChannelFactoryInterface $logger_channel_factory, MessengerInterface $messenger, AddToQueue $post_queue, FeatureStatus $feature_status) { + public function __construct(ConfigFactoryInterface $config_factory, EntityTypeManagerInterface $entity_type_manager, LoggerChannelFactoryInterface $logger_channel_factory, MessengerInterface $messenger, AddToQueue $post_queue) { parent::__construct($config_factory, $entity_type_manager, $logger_channel_factory, $messenger, $post_queue); - $this->featureStatus = $feature_status; } /** diff --git a/docroot/modules/custom/va_gov_post_api/va_gov_post_api.services.yml b/docroot/modules/custom/va_gov_post_api/va_gov_post_api.services.yml index 68508a63ca..d02a179010 100644 --- a/docroot/modules/custom/va_gov_post_api/va_gov_post_api.services.yml +++ b/docroot/modules/custom/va_gov_post_api/va_gov_post_api.services.yml @@ -18,7 +18,7 @@ services: arguments: ['@config.factory', '@entity_type.manager', '@logger.factory', '@messenger', '@post_api.add_to_queue', '@renderer', '@file_system', '@file.repository'] va_gov_post_api.queue_facility_status_updates: class: '\Drupal\va_gov_post_api\Service\PostFacilityStatus' - arguments: ['@config.factory', '@entity_type.manager', '@logger.factory', '@messenger', '@post_api.add_to_queue', '@feature_toggle.feature_status'] + arguments: ['@config.factory', '@entity_type.manager', '@logger.factory', '@messenger', '@post_api.add_to_queue'] va_gov_post_api.queue_facility_without_status_updates: class: '\Drupal\va_gov_post_api\Service\PostFacilityWithoutStatus' arguments: ['@config.factory', '@entity_type.manager', '@logger.factory', '@messenger', '@post_api.add_to_queue'] diff --git a/docroot/modules/custom/va_gov_profile/src/EventSubscriber/EntityEventSubscriber.php b/docroot/modules/custom/va_gov_profile/src/EventSubscriber/EntityEventSubscriber.php index 53a6632fb8..1154f86511 100644 --- a/docroot/modules/custom/va_gov_profile/src/EventSubscriber/EntityEventSubscriber.php +++ b/docroot/modules/custom/va_gov_profile/src/EventSubscriber/EntityEventSubscriber.php @@ -7,7 +7,6 @@ use Drupal\core_event_dispatcher\EntityHookEvents; use Drupal\core_event_dispatcher\Event\Entity\EntityTypeAlterEvent; use Drupal\core_event_dispatcher\Event\Form\FormIdAlterEvent; -use Drupal\feature_toggle\FeatureStatus; use Drupal\va_gov_user\Service\UserPermsService; use Symfony\Component\EventDispatcher\EventSubscriberInterface; @@ -32,13 +31,6 @@ class EntityEventSubscriber implements EventSubscriberInterface { */ private $entityTypeManager; - /** - * Feature Toggle status service. - * - * @var \Drupal\feature_toggle\FeatureStatus - */ - private FeatureStatus $featureStatus; - /** * Constructs the EventSubscriber object. * @@ -46,17 +38,13 @@ class EntityEventSubscriber implements EventSubscriberInterface { * The current user perms service. * @param \Drupal\Core\Entity\EntityTypeManager $entity_type_manager * The entity type manager service. - * @param \Drupal\feature_toggle\FeatureStatus $feature_status - * The Feature Status service. */ public function __construct( UserPermsService $user_perms_service, EntityTypeManager $entity_type_manager, - FeatureStatus $feature_status, ) { $this->userPermsService = $user_perms_service; $this->entityTypeManager = $entity_type_manager; - $this->featureStatus = $feature_status; } /** diff --git a/docroot/modules/custom/va_gov_profile/va_gov_profile.services.yml b/docroot/modules/custom/va_gov_profile/va_gov_profile.services.yml index 2eec79c038..7669c4f026 100644 --- a/docroot/modules/custom/va_gov_profile/va_gov_profile.services.yml +++ b/docroot/modules/custom/va_gov_profile/va_gov_profile.services.yml @@ -1,6 +1,6 @@ services: va_gov_profile.entity_event_subscriber: class: Drupal\va_gov_profile\EventSubscriber\EntityEventSubscriber - arguments: ['@va_gov_user.user_perms', '@entity_type.manager', '@feature_toggle.feature_status'] + arguments: ['@va_gov_user.user_perms', '@entity_type.manager'] tags: - { name: event_subscriber } diff --git a/docroot/modules/custom/va_gov_vamc/src/EventSubscriber/VAMCEntityEventSubscriber.php b/docroot/modules/custom/va_gov_vamc/src/EventSubscriber/VAMCEntityEventSubscriber.php index 271b43f2a9..35ba15e763 100644 --- a/docroot/modules/custom/va_gov_vamc/src/EventSubscriber/VAMCEntityEventSubscriber.php +++ b/docroot/modules/custom/va_gov_vamc/src/EventSubscriber/VAMCEntityEventSubscriber.php @@ -338,7 +338,6 @@ public function alterFacilityNodeForm(FormIdAlterEvent $event): void { $form_state = $event->getFormState(); $this->addCovidStatusData($form, $form_state); $this->removePhoneLabel($event); - $this->showTelephone($event); } /** From 33d076c911fe3cac028098ee3009c97fe1e0943f Mon Sep 17 00:00:00 2001 From: Christian Burk <766573+omahane@users.noreply.github.com> Date: Mon, 16 Dec 2024 05:30:29 -0800 Subject: [PATCH 03/11] VACMS-19967: Removes constructor, as no longer overridden --- .../src/Service/PostFacilityStatus.php | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/docroot/modules/custom/va_gov_post_api/src/Service/PostFacilityStatus.php b/docroot/modules/custom/va_gov_post_api/src/Service/PostFacilityStatus.php index 3a424f52a3..d7bea2f0ec 100644 --- a/docroot/modules/custom/va_gov_post_api/src/Service/PostFacilityStatus.php +++ b/docroot/modules/custom/va_gov_post_api/src/Service/PostFacilityStatus.php @@ -45,24 +45,6 @@ class PostFacilityStatus extends PostFacilityBase implements PostServiceInterfac */ protected $additionalInfoToPush; - /** - * Constructs a new PostFacilityStatus service object. - * - * @param \Drupal\Core\Config\ConfigFactoryInterface $config_factory - * The config factory service. - * @param \Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager - * The entity type manager service. - * @param \Drupal\Core\Logger\LoggerChannelFactoryInterface $logger_channel_factory - * The logger factory service. - * @param \Drupal\Core\Messenger\MessengerInterface $messenger - * The messenger interface. - * @param \Drupal\post_api\Service\AddToQueue $post_queue - * The PostAPI service. - */ - public function __construct(ConfigFactoryInterface $config_factory, EntityTypeManagerInterface $entity_type_manager, LoggerChannelFactoryInterface $logger_channel_factory, MessengerInterface $messenger, AddToQueue $post_queue) { - parent::__construct($config_factory, $entity_type_manager, $logger_channel_factory, $messenger, $post_queue); - } - /** * Adds facility service data to Post API queue. * From 7e8cad56a940d9a0a587c86260e4b0730f528623 Mon Sep 17 00:00:00 2001 From: Christian Burk <766573+omahane@users.noreply.github.com> Date: Mon, 16 Dec 2024 06:02:25 -0800 Subject: [PATCH 04/11] VACMS-19967: Removes telephone field from config --- ...ode.health_care_local_facility.default.yml | 9 ------- ...care_local_facility.inline_entity_form.yml | 2 -- ...rm_display.node.person_profile.default.yml | 9 ------- ...node.person_profile.inline_entity_form.yml | 9 ------- ....vamc_system_billing_insurance.default.yml | 9 ------- ...ode.health_care_local_facility.default.yml | 9 ------- ...h_care_local_facility.external_content.yml | 9 ------- ...e.health_care_local_facility.ief_table.yml | 2 -- ...node.health_care_local_facility.teaser.yml | 2 -- ...ew_display.node.person_profile.default.yml | 10 -------- ...iew_display.node.person_profile.teaser.yml | 2 -- ....vamc_system_billing_insurance.default.yml | 10 -------- ..._system_billing_insurance.search_index.yml | 2 -- ...e.vamc_system_billing_insurance.teaser.yml | 2 -- ...care_local_facility.field_phone_number.yml | 25 ------------------- ...node.person_profile.field_phone_number.yml | 21 ---------------- ...m_billing_insurance.field_phone_number.yml | 21 ---------------- 17 files changed, 153 deletions(-) delete mode 100644 config/sync/field.field.node.health_care_local_facility.field_phone_number.yml delete mode 100644 config/sync/field.field.node.person_profile.field_phone_number.yml delete mode 100644 config/sync/field.field.node.vamc_system_billing_insurance.field_phone_number.yml diff --git a/config/sync/core.entity_form_display.node.health_care_local_facility.default.yml b/config/sync/core.entity_form_display.node.health_care_local_facility.default.yml index b09a71535b..2b5abc598f 100644 --- a/config/sync/core.entity_form_display.node.health_care_local_facility.default.yml +++ b/config/sync/core.entity_form_display.node.health_care_local_facility.default.yml @@ -21,7 +21,6 @@ dependencies: - field.field.node.health_care_local_facility.field_office_hours - field.field.node.health_care_local_facility.field_operating_status_facility - field.field.node.health_care_local_facility.field_operating_status_more_info - - field.field.node.health_care_local_facility.field_phone_number - field.field.node.health_care_local_facility.field_region_page - field.field.node.health_care_local_facility.field_supplemental_status - field.field.node.health_care_local_facility.field_supplemental_status_more_i @@ -37,7 +36,6 @@ dependencies: - media_library - office_hours - paragraphs - - paragraphs_features - path - telephone - textfield_counter @@ -376,13 +374,6 @@ content: count_html_characters: true textcount_status_message: '@remaining_count characters remaining' third_party_settings: { } - field_phone_number: - type: telephone_default - weight: 27 - region: content - settings: - placeholder: '' - third_party_settings: { } field_region_page: type: options_select weight: 20 diff --git a/config/sync/core.entity_form_display.node.health_care_local_facility.inline_entity_form.yml b/config/sync/core.entity_form_display.node.health_care_local_facility.inline_entity_form.yml index e8ea110334..aa695f11ba 100644 --- a/config/sync/core.entity_form_display.node.health_care_local_facility.inline_entity_form.yml +++ b/config/sync/core.entity_form_display.node.health_care_local_facility.inline_entity_form.yml @@ -22,7 +22,6 @@ dependencies: - field.field.node.health_care_local_facility.field_office_hours - field.field.node.health_care_local_facility.field_operating_status_facility - field.field.node.health_care_local_facility.field_operating_status_more_info - - field.field.node.health_care_local_facility.field_phone_number - field.field.node.health_care_local_facility.field_region_page - field.field.node.health_care_local_facility.field_supplemental_status - field.field.node.health_care_local_facility.field_supplemental_status_more_i @@ -156,7 +155,6 @@ hidden: field_meta_tags: true field_mobile: true field_office_hours: true - field_phone_number: true field_region_page: true field_supplemental_status: true field_supplemental_status_more_i: true diff --git a/config/sync/core.entity_form_display.node.person_profile.default.yml b/config/sync/core.entity_form_display.node.person_profile.default.yml index 1bc01b2277..f95eff6778 100644 --- a/config/sync/core.entity_form_display.node.person_profile.default.yml +++ b/config/sync/core.entity_form_display.node.person_profile.default.yml @@ -16,7 +16,6 @@ dependencies: - field.field.node.person_profile.field_meta_tags - field.field.node.person_profile.field_name_first - field.field.node.person_profile.field_office - - field.field.node.person_profile.field_phone_number - field.field.node.person_profile.field_photo_allow_hires_download - field.field.node.person_profile.field_suffix - field.field.node.person_profile.field_telephone @@ -29,7 +28,6 @@ dependencies: - media_library - paragraphs - path - - telephone - text - textfield_counter third_party_settings: @@ -251,13 +249,6 @@ content: region: content settings: { } third_party_settings: { } - field_phone_number: - type: telephone_default - weight: 7 - region: content - settings: - placeholder: '' - third_party_settings: { } field_photo_allow_hires_download: type: boolean_checkbox weight: 7 diff --git a/config/sync/core.entity_form_display.node.person_profile.inline_entity_form.yml b/config/sync/core.entity_form_display.node.person_profile.inline_entity_form.yml index 4920f18e2b..2145a68d7a 100644 --- a/config/sync/core.entity_form_display.node.person_profile.inline_entity_form.yml +++ b/config/sync/core.entity_form_display.node.person_profile.inline_entity_form.yml @@ -17,7 +17,6 @@ dependencies: - field.field.node.person_profile.field_meta_tags - field.field.node.person_profile.field_name_first - field.field.node.person_profile.field_office - - field.field.node.person_profile.field_phone_number - field.field.node.person_profile.field_photo_allow_hires_download - field.field.node.person_profile.field_suffix - field.field.node.person_profile.field_telephone @@ -26,7 +25,6 @@ dependencies: - field_group - media_library - paragraphs - - telephone - text third_party_settings: field_group: @@ -201,13 +199,6 @@ content: size: 60 placeholder: '' third_party_settings: { } - field_phone_number: - type: telephone_default - weight: 7 - region: content - settings: - placeholder: '' - third_party_settings: { } field_photo_allow_hires_download: type: boolean_checkbox weight: 5 diff --git a/config/sync/core.entity_form_display.node.vamc_system_billing_insurance.default.yml b/config/sync/core.entity_form_display.node.vamc_system_billing_insurance.default.yml index 0d2243732e..8087bec335 100644 --- a/config/sync/core.entity_form_display.node.vamc_system_billing_insurance.default.yml +++ b/config/sync/core.entity_form_display.node.vamc_system_billing_insurance.default.yml @@ -14,7 +14,6 @@ dependencies: - field.field.node.vamc_system_billing_insurance.field_non_clinical_services - field.field.node.vamc_system_billing_insurance.field_office - field.field.node.vamc_system_billing_insurance.field_office_hours - - field.field.node.vamc_system_billing_insurance.field_phone_number - field.field.node.vamc_system_billing_insurance.field_service_name_and_descripti - field.field.node.vamc_system_billing_insurance.field_telephone - node.type.vamc_system_billing_insurance @@ -26,7 +25,6 @@ dependencies: - field_group - office_hours - paragraphs - - telephone - viewfield third_party_settings: field_group: @@ -242,13 +240,6 @@ content: settings: collapsed: false third_party_settings: { } - field_phone_number: - type: telephone_default - weight: 10 - region: content - settings: - placeholder: '' - third_party_settings: { } field_telephone: type: entity_reference_paragraphs weight: 11 diff --git a/config/sync/core.entity_view_display.node.health_care_local_facility.default.yml b/config/sync/core.entity_view_display.node.health_care_local_facility.default.yml index 7882b68f4f..bd2fc7570b 100644 --- a/config/sync/core.entity_view_display.node.health_care_local_facility.default.yml +++ b/config/sync/core.entity_view_display.node.health_care_local_facility.default.yml @@ -21,7 +21,6 @@ dependencies: - field.field.node.health_care_local_facility.field_office_hours - field.field.node.health_care_local_facility.field_operating_status_facility - field.field.node.health_care_local_facility.field_operating_status_more_info - - field.field.node.health_care_local_facility.field_phone_number - field.field.node.health_care_local_facility.field_region_page - field.field.node.health_care_local_facility.field_supplemental_status - field.field.node.health_care_local_facility.field_supplemental_status_more_i @@ -269,14 +268,6 @@ content: third_party_settings: { } weight: 20 region: content - field_phone_number: - type: telephone_link - label: inline - settings: - title: '' - third_party_settings: { } - weight: 17 - region: content field_telephone: type: entity_reference_revisions_entity_view label: above diff --git a/config/sync/core.entity_view_display.node.health_care_local_facility.external_content.yml b/config/sync/core.entity_view_display.node.health_care_local_facility.external_content.yml index 063f055861..872e60547b 100644 --- a/config/sync/core.entity_view_display.node.health_care_local_facility.external_content.yml +++ b/config/sync/core.entity_view_display.node.health_care_local_facility.external_content.yml @@ -22,7 +22,6 @@ dependencies: - field.field.node.health_care_local_facility.field_office_hours - field.field.node.health_care_local_facility.field_operating_status_facility - field.field.node.health_care_local_facility.field_operating_status_more_info - - field.field.node.health_care_local_facility.field_phone_number - field.field.node.health_care_local_facility.field_region_page - field.field.node.health_care_local_facility.field_supplemental_status - field.field.node.health_care_local_facility.field_supplemental_status_more_i @@ -236,14 +235,6 @@ content: third_party_settings: { } weight: 22 region: content - field_phone_number: - type: string - label: above - settings: - link_to_entity: false - third_party_settings: { } - weight: 20 - region: content flag_email_node: settings: { } third_party_settings: { } diff --git a/config/sync/core.entity_view_display.node.health_care_local_facility.ief_table.yml b/config/sync/core.entity_view_display.node.health_care_local_facility.ief_table.yml index 81891d2b24..8063441e55 100644 --- a/config/sync/core.entity_view_display.node.health_care_local_facility.ief_table.yml +++ b/config/sync/core.entity_view_display.node.health_care_local_facility.ief_table.yml @@ -22,7 +22,6 @@ dependencies: - field.field.node.health_care_local_facility.field_office_hours - field.field.node.health_care_local_facility.field_operating_status_facility - field.field.node.health_care_local_facility.field_operating_status_more_info - - field.field.node.health_care_local_facility.field_phone_number - field.field.node.health_care_local_facility.field_region_page - field.field.node.health_care_local_facility.field_supplemental_status - field.field.node.health_care_local_facility.field_supplemental_status_more_i @@ -124,7 +123,6 @@ hidden: field_meta_tags: true field_mobile: true field_office_hours: true - field_phone_number: true field_region_page: true field_supplemental_status: true field_supplemental_status_more_i: true diff --git a/config/sync/core.entity_view_display.node.health_care_local_facility.teaser.yml b/config/sync/core.entity_view_display.node.health_care_local_facility.teaser.yml index 222770f668..baf4c5e091 100644 --- a/config/sync/core.entity_view_display.node.health_care_local_facility.teaser.yml +++ b/config/sync/core.entity_view_display.node.health_care_local_facility.teaser.yml @@ -22,7 +22,6 @@ dependencies: - field.field.node.health_care_local_facility.field_office_hours - field.field.node.health_care_local_facility.field_operating_status_facility - field.field.node.health_care_local_facility.field_operating_status_more_info - - field.field.node.health_care_local_facility.field_phone_number - field.field.node.health_care_local_facility.field_region_page - field.field.node.health_care_local_facility.field_supplemental_status - field.field.node.health_care_local_facility.field_supplemental_status_more_i @@ -102,7 +101,6 @@ hidden: field_office_hours: true field_operating_status_facility: true field_operating_status_more_info: true - field_phone_number: true field_region_page: true field_supplemental_status: true field_supplemental_status_more_i: true diff --git a/config/sync/core.entity_view_display.node.person_profile.default.yml b/config/sync/core.entity_view_display.node.person_profile.default.yml index c583bf5042..017b8038c7 100644 --- a/config/sync/core.entity_view_display.node.person_profile.default.yml +++ b/config/sync/core.entity_view_display.node.person_profile.default.yml @@ -16,7 +16,6 @@ dependencies: - field.field.node.person_profile.field_meta_tags - field.field.node.person_profile.field_name_first - field.field.node.person_profile.field_office - - field.field.node.person_profile.field_phone_number - field.field.node.person_profile.field_photo_allow_hires_download - field.field.node.person_profile.field_suffix - field.field.node.person_profile.field_telephone @@ -27,7 +26,6 @@ dependencies: - field_group - file - media - - telephone - text - user third_party_settings: @@ -122,14 +120,6 @@ content: third_party_settings: { } weight: 1 region: content - field_phone_number: - type: telephone_link - label: above - settings: - title: '' - third_party_settings: { } - weight: 7 - region: content field_suffix: type: string label: above diff --git a/config/sync/core.entity_view_display.node.person_profile.teaser.yml b/config/sync/core.entity_view_display.node.person_profile.teaser.yml index 02c6fe8f16..e381472192 100644 --- a/config/sync/core.entity_view_display.node.person_profile.teaser.yml +++ b/config/sync/core.entity_view_display.node.person_profile.teaser.yml @@ -17,7 +17,6 @@ dependencies: - field.field.node.person_profile.field_meta_tags - field.field.node.person_profile.field_name_first - field.field.node.person_profile.field_office - - field.field.node.person_profile.field_phone_number - field.field.node.person_profile.field_photo_allow_hires_download - field.field.node.person_profile.field_suffix - field.field.node.person_profile.field_telephone @@ -50,7 +49,6 @@ hidden: field_meta_tags: true field_name_first: true field_office: true - field_phone_number: true field_photo_allow_hires_download: true field_region_page: true field_suffix: true diff --git a/config/sync/core.entity_view_display.node.vamc_system_billing_insurance.default.yml b/config/sync/core.entity_view_display.node.vamc_system_billing_insurance.default.yml index 823bf69b33..5d11d786ef 100644 --- a/config/sync/core.entity_view_display.node.vamc_system_billing_insurance.default.yml +++ b/config/sync/core.entity_view_display.node.vamc_system_billing_insurance.default.yml @@ -14,7 +14,6 @@ dependencies: - field.field.node.vamc_system_billing_insurance.field_non_clinical_services - field.field.node.vamc_system_billing_insurance.field_office - field.field.node.vamc_system_billing_insurance.field_office_hours - - field.field.node.vamc_system_billing_insurance.field_phone_number - field.field.node.vamc_system_billing_insurance.field_service_name_and_descripti - field.field.node.vamc_system_billing_insurance.field_telephone - node.type.vamc_system_billing_insurance @@ -24,7 +23,6 @@ dependencies: - entity_reference_revisions - field_group - office_hours - - telephone - user - viewfield third_party_settings: @@ -188,14 +186,6 @@ content: third_party_settings: { } weight: 2 region: content - field_phone_number: - type: telephone_link - label: above - settings: - title: '' - third_party_settings: { } - weight: 0 - region: content field_telephone: type: entity_reference_revisions_entity_view label: above diff --git a/config/sync/core.entity_view_display.node.vamc_system_billing_insurance.search_index.yml b/config/sync/core.entity_view_display.node.vamc_system_billing_insurance.search_index.yml index 5b3d5e3dc6..8f3502144c 100644 --- a/config/sync/core.entity_view_display.node.vamc_system_billing_insurance.search_index.yml +++ b/config/sync/core.entity_view_display.node.vamc_system_billing_insurance.search_index.yml @@ -15,7 +15,6 @@ dependencies: - field.field.node.vamc_system_billing_insurance.field_non_clinical_services - field.field.node.vamc_system_billing_insurance.field_office - field.field.node.vamc_system_billing_insurance.field_office_hours - - field.field.node.vamc_system_billing_insurance.field_phone_number - field.field.node.vamc_system_billing_insurance.field_service_name_and_descripti - field.field.node.vamc_system_billing_insurance.field_telephone - node.type.vamc_system_billing_insurance @@ -194,7 +193,6 @@ hidden: field_enforce_unique_combo_offic: true field_last_saved_by_an_editor: true field_office: true - field_phone_number: true field_service_name_and_descripti: true langcode: true search_api_excerpt: true diff --git a/config/sync/core.entity_view_display.node.vamc_system_billing_insurance.teaser.yml b/config/sync/core.entity_view_display.node.vamc_system_billing_insurance.teaser.yml index 4f1759fc5a..5a02b02514 100644 --- a/config/sync/core.entity_view_display.node.vamc_system_billing_insurance.teaser.yml +++ b/config/sync/core.entity_view_display.node.vamc_system_billing_insurance.teaser.yml @@ -15,7 +15,6 @@ dependencies: - field.field.node.vamc_system_billing_insurance.field_non_clinical_services - field.field.node.vamc_system_billing_insurance.field_office - field.field.node.vamc_system_billing_insurance.field_office_hours - - field.field.node.vamc_system_billing_insurance.field_phone_number - field.field.node.vamc_system_billing_insurance.field_service_name_and_descripti - field.field.node.vamc_system_billing_insurance.field_telephone - node.type.vamc_system_billing_insurance @@ -59,7 +58,6 @@ hidden: field_non_clinical_services: true field_office: true field_office_hours: true - field_phone_number: true field_service_name_and_descripti: true field_telephone: true langcode: true diff --git a/config/sync/field.field.node.health_care_local_facility.field_phone_number.yml b/config/sync/field.field.node.health_care_local_facility.field_phone_number.yml deleted file mode 100644 index 45b797bbb9..0000000000 --- a/config/sync/field.field.node.health_care_local_facility.field_phone_number.yml +++ /dev/null @@ -1,25 +0,0 @@ -uuid: 555f9b76-04aa-4b90-a4ed-564680d3e7e5 -langcode: en -status: true -dependencies: - config: - - field.storage.node.field_phone_number - - node.type.health_care_local_facility - module: - - telephone - - tmgmt_content -third_party_settings: - tmgmt_content: - excluded: false -id: node.health_care_local_facility.field_phone_number -field_name: field_phone_number -entity_type: node -bundle: health_care_local_facility -label: 'Phone number' -description: '' -required: false -translatable: false -default_value: { } -default_value_callback: '' -settings: { } -field_type: telephone diff --git a/config/sync/field.field.node.person_profile.field_phone_number.yml b/config/sync/field.field.node.person_profile.field_phone_number.yml deleted file mode 100644 index 7328f1b688..0000000000 --- a/config/sync/field.field.node.person_profile.field_phone_number.yml +++ /dev/null @@ -1,21 +0,0 @@ -uuid: cf0a6431-a140-4b1e-9163-63aa66793fb7 -langcode: en -status: true -dependencies: - config: - - field.storage.node.field_phone_number - - node.type.person_profile - module: - - telephone -id: node.person_profile.field_phone_number -field_name: field_phone_number -entity_type: node -bundle: person_profile -label: 'Phone Number' -description: '' -required: false -translatable: false -default_value: { } -default_value_callback: '' -settings: { } -field_type: telephone diff --git a/config/sync/field.field.node.vamc_system_billing_insurance.field_phone_number.yml b/config/sync/field.field.node.vamc_system_billing_insurance.field_phone_number.yml deleted file mode 100644 index 18b1be8450..0000000000 --- a/config/sync/field.field.node.vamc_system_billing_insurance.field_phone_number.yml +++ /dev/null @@ -1,21 +0,0 @@ -uuid: 2db88d6d-a01f-40a9-9e5b-406ee788db4c -langcode: en -status: true -dependencies: - config: - - field.storage.node.field_phone_number - - node.type.vamc_system_billing_insurance - module: - - telephone -id: node.vamc_system_billing_insurance.field_phone_number -field_name: field_phone_number -entity_type: node -bundle: vamc_system_billing_insurance -label: 'Phone number' -description: 'Format: 800-983-0932' -required: false -translatable: false -default_value: { } -default_value_callback: '' -settings: { } -field_type: telephone From 992b0a68c1752e55d6134d21d45d036b1a331eae Mon Sep 17 00:00:00 2001 From: Christian Burk <766573+omahane@users.noreply.github.com> Date: Mon, 16 Dec 2024 08:27:53 -0800 Subject: [PATCH 05/11] Revert "VACMS-19967: Removes telephone field from config" This reverts commit 7e8cad56a940d9a0a587c86260e4b0730f528623. --- ...ode.health_care_local_facility.default.yml | 9 +++++++ ...care_local_facility.inline_entity_form.yml | 2 ++ ...rm_display.node.person_profile.default.yml | 9 +++++++ ...node.person_profile.inline_entity_form.yml | 9 +++++++ ....vamc_system_billing_insurance.default.yml | 9 +++++++ ...ode.health_care_local_facility.default.yml | 9 +++++++ ...h_care_local_facility.external_content.yml | 9 +++++++ ...e.health_care_local_facility.ief_table.yml | 2 ++ ...node.health_care_local_facility.teaser.yml | 2 ++ ...ew_display.node.person_profile.default.yml | 10 ++++++++ ...iew_display.node.person_profile.teaser.yml | 2 ++ ....vamc_system_billing_insurance.default.yml | 10 ++++++++ ..._system_billing_insurance.search_index.yml | 2 ++ ...e.vamc_system_billing_insurance.teaser.yml | 2 ++ ...care_local_facility.field_phone_number.yml | 25 +++++++++++++++++++ ...node.person_profile.field_phone_number.yml | 21 ++++++++++++++++ ...m_billing_insurance.field_phone_number.yml | 21 ++++++++++++++++ 17 files changed, 153 insertions(+) create mode 100644 config/sync/field.field.node.health_care_local_facility.field_phone_number.yml create mode 100644 config/sync/field.field.node.person_profile.field_phone_number.yml create mode 100644 config/sync/field.field.node.vamc_system_billing_insurance.field_phone_number.yml diff --git a/config/sync/core.entity_form_display.node.health_care_local_facility.default.yml b/config/sync/core.entity_form_display.node.health_care_local_facility.default.yml index 2b5abc598f..b09a71535b 100644 --- a/config/sync/core.entity_form_display.node.health_care_local_facility.default.yml +++ b/config/sync/core.entity_form_display.node.health_care_local_facility.default.yml @@ -21,6 +21,7 @@ dependencies: - field.field.node.health_care_local_facility.field_office_hours - field.field.node.health_care_local_facility.field_operating_status_facility - field.field.node.health_care_local_facility.field_operating_status_more_info + - field.field.node.health_care_local_facility.field_phone_number - field.field.node.health_care_local_facility.field_region_page - field.field.node.health_care_local_facility.field_supplemental_status - field.field.node.health_care_local_facility.field_supplemental_status_more_i @@ -36,6 +37,7 @@ dependencies: - media_library - office_hours - paragraphs + - paragraphs_features - path - telephone - textfield_counter @@ -374,6 +376,13 @@ content: count_html_characters: true textcount_status_message: '@remaining_count characters remaining' third_party_settings: { } + field_phone_number: + type: telephone_default + weight: 27 + region: content + settings: + placeholder: '' + third_party_settings: { } field_region_page: type: options_select weight: 20 diff --git a/config/sync/core.entity_form_display.node.health_care_local_facility.inline_entity_form.yml b/config/sync/core.entity_form_display.node.health_care_local_facility.inline_entity_form.yml index aa695f11ba..e8ea110334 100644 --- a/config/sync/core.entity_form_display.node.health_care_local_facility.inline_entity_form.yml +++ b/config/sync/core.entity_form_display.node.health_care_local_facility.inline_entity_form.yml @@ -22,6 +22,7 @@ dependencies: - field.field.node.health_care_local_facility.field_office_hours - field.field.node.health_care_local_facility.field_operating_status_facility - field.field.node.health_care_local_facility.field_operating_status_more_info + - field.field.node.health_care_local_facility.field_phone_number - field.field.node.health_care_local_facility.field_region_page - field.field.node.health_care_local_facility.field_supplemental_status - field.field.node.health_care_local_facility.field_supplemental_status_more_i @@ -155,6 +156,7 @@ hidden: field_meta_tags: true field_mobile: true field_office_hours: true + field_phone_number: true field_region_page: true field_supplemental_status: true field_supplemental_status_more_i: true diff --git a/config/sync/core.entity_form_display.node.person_profile.default.yml b/config/sync/core.entity_form_display.node.person_profile.default.yml index f95eff6778..1bc01b2277 100644 --- a/config/sync/core.entity_form_display.node.person_profile.default.yml +++ b/config/sync/core.entity_form_display.node.person_profile.default.yml @@ -16,6 +16,7 @@ dependencies: - field.field.node.person_profile.field_meta_tags - field.field.node.person_profile.field_name_first - field.field.node.person_profile.field_office + - field.field.node.person_profile.field_phone_number - field.field.node.person_profile.field_photo_allow_hires_download - field.field.node.person_profile.field_suffix - field.field.node.person_profile.field_telephone @@ -28,6 +29,7 @@ dependencies: - media_library - paragraphs - path + - telephone - text - textfield_counter third_party_settings: @@ -249,6 +251,13 @@ content: region: content settings: { } third_party_settings: { } + field_phone_number: + type: telephone_default + weight: 7 + region: content + settings: + placeholder: '' + third_party_settings: { } field_photo_allow_hires_download: type: boolean_checkbox weight: 7 diff --git a/config/sync/core.entity_form_display.node.person_profile.inline_entity_form.yml b/config/sync/core.entity_form_display.node.person_profile.inline_entity_form.yml index 2145a68d7a..4920f18e2b 100644 --- a/config/sync/core.entity_form_display.node.person_profile.inline_entity_form.yml +++ b/config/sync/core.entity_form_display.node.person_profile.inline_entity_form.yml @@ -17,6 +17,7 @@ dependencies: - field.field.node.person_profile.field_meta_tags - field.field.node.person_profile.field_name_first - field.field.node.person_profile.field_office + - field.field.node.person_profile.field_phone_number - field.field.node.person_profile.field_photo_allow_hires_download - field.field.node.person_profile.field_suffix - field.field.node.person_profile.field_telephone @@ -25,6 +26,7 @@ dependencies: - field_group - media_library - paragraphs + - telephone - text third_party_settings: field_group: @@ -199,6 +201,13 @@ content: size: 60 placeholder: '' third_party_settings: { } + field_phone_number: + type: telephone_default + weight: 7 + region: content + settings: + placeholder: '' + third_party_settings: { } field_photo_allow_hires_download: type: boolean_checkbox weight: 5 diff --git a/config/sync/core.entity_form_display.node.vamc_system_billing_insurance.default.yml b/config/sync/core.entity_form_display.node.vamc_system_billing_insurance.default.yml index 8087bec335..0d2243732e 100644 --- a/config/sync/core.entity_form_display.node.vamc_system_billing_insurance.default.yml +++ b/config/sync/core.entity_form_display.node.vamc_system_billing_insurance.default.yml @@ -14,6 +14,7 @@ dependencies: - field.field.node.vamc_system_billing_insurance.field_non_clinical_services - field.field.node.vamc_system_billing_insurance.field_office - field.field.node.vamc_system_billing_insurance.field_office_hours + - field.field.node.vamc_system_billing_insurance.field_phone_number - field.field.node.vamc_system_billing_insurance.field_service_name_and_descripti - field.field.node.vamc_system_billing_insurance.field_telephone - node.type.vamc_system_billing_insurance @@ -25,6 +26,7 @@ dependencies: - field_group - office_hours - paragraphs + - telephone - viewfield third_party_settings: field_group: @@ -240,6 +242,13 @@ content: settings: collapsed: false third_party_settings: { } + field_phone_number: + type: telephone_default + weight: 10 + region: content + settings: + placeholder: '' + third_party_settings: { } field_telephone: type: entity_reference_paragraphs weight: 11 diff --git a/config/sync/core.entity_view_display.node.health_care_local_facility.default.yml b/config/sync/core.entity_view_display.node.health_care_local_facility.default.yml index bd2fc7570b..7882b68f4f 100644 --- a/config/sync/core.entity_view_display.node.health_care_local_facility.default.yml +++ b/config/sync/core.entity_view_display.node.health_care_local_facility.default.yml @@ -21,6 +21,7 @@ dependencies: - field.field.node.health_care_local_facility.field_office_hours - field.field.node.health_care_local_facility.field_operating_status_facility - field.field.node.health_care_local_facility.field_operating_status_more_info + - field.field.node.health_care_local_facility.field_phone_number - field.field.node.health_care_local_facility.field_region_page - field.field.node.health_care_local_facility.field_supplemental_status - field.field.node.health_care_local_facility.field_supplemental_status_more_i @@ -268,6 +269,14 @@ content: third_party_settings: { } weight: 20 region: content + field_phone_number: + type: telephone_link + label: inline + settings: + title: '' + third_party_settings: { } + weight: 17 + region: content field_telephone: type: entity_reference_revisions_entity_view label: above diff --git a/config/sync/core.entity_view_display.node.health_care_local_facility.external_content.yml b/config/sync/core.entity_view_display.node.health_care_local_facility.external_content.yml index 872e60547b..063f055861 100644 --- a/config/sync/core.entity_view_display.node.health_care_local_facility.external_content.yml +++ b/config/sync/core.entity_view_display.node.health_care_local_facility.external_content.yml @@ -22,6 +22,7 @@ dependencies: - field.field.node.health_care_local_facility.field_office_hours - field.field.node.health_care_local_facility.field_operating_status_facility - field.field.node.health_care_local_facility.field_operating_status_more_info + - field.field.node.health_care_local_facility.field_phone_number - field.field.node.health_care_local_facility.field_region_page - field.field.node.health_care_local_facility.field_supplemental_status - field.field.node.health_care_local_facility.field_supplemental_status_more_i @@ -235,6 +236,14 @@ content: third_party_settings: { } weight: 22 region: content + field_phone_number: + type: string + label: above + settings: + link_to_entity: false + third_party_settings: { } + weight: 20 + region: content flag_email_node: settings: { } third_party_settings: { } diff --git a/config/sync/core.entity_view_display.node.health_care_local_facility.ief_table.yml b/config/sync/core.entity_view_display.node.health_care_local_facility.ief_table.yml index 8063441e55..81891d2b24 100644 --- a/config/sync/core.entity_view_display.node.health_care_local_facility.ief_table.yml +++ b/config/sync/core.entity_view_display.node.health_care_local_facility.ief_table.yml @@ -22,6 +22,7 @@ dependencies: - field.field.node.health_care_local_facility.field_office_hours - field.field.node.health_care_local_facility.field_operating_status_facility - field.field.node.health_care_local_facility.field_operating_status_more_info + - field.field.node.health_care_local_facility.field_phone_number - field.field.node.health_care_local_facility.field_region_page - field.field.node.health_care_local_facility.field_supplemental_status - field.field.node.health_care_local_facility.field_supplemental_status_more_i @@ -123,6 +124,7 @@ hidden: field_meta_tags: true field_mobile: true field_office_hours: true + field_phone_number: true field_region_page: true field_supplemental_status: true field_supplemental_status_more_i: true diff --git a/config/sync/core.entity_view_display.node.health_care_local_facility.teaser.yml b/config/sync/core.entity_view_display.node.health_care_local_facility.teaser.yml index baf4c5e091..222770f668 100644 --- a/config/sync/core.entity_view_display.node.health_care_local_facility.teaser.yml +++ b/config/sync/core.entity_view_display.node.health_care_local_facility.teaser.yml @@ -22,6 +22,7 @@ dependencies: - field.field.node.health_care_local_facility.field_office_hours - field.field.node.health_care_local_facility.field_operating_status_facility - field.field.node.health_care_local_facility.field_operating_status_more_info + - field.field.node.health_care_local_facility.field_phone_number - field.field.node.health_care_local_facility.field_region_page - field.field.node.health_care_local_facility.field_supplemental_status - field.field.node.health_care_local_facility.field_supplemental_status_more_i @@ -101,6 +102,7 @@ hidden: field_office_hours: true field_operating_status_facility: true field_operating_status_more_info: true + field_phone_number: true field_region_page: true field_supplemental_status: true field_supplemental_status_more_i: true diff --git a/config/sync/core.entity_view_display.node.person_profile.default.yml b/config/sync/core.entity_view_display.node.person_profile.default.yml index 017b8038c7..c583bf5042 100644 --- a/config/sync/core.entity_view_display.node.person_profile.default.yml +++ b/config/sync/core.entity_view_display.node.person_profile.default.yml @@ -16,6 +16,7 @@ dependencies: - field.field.node.person_profile.field_meta_tags - field.field.node.person_profile.field_name_first - field.field.node.person_profile.field_office + - field.field.node.person_profile.field_phone_number - field.field.node.person_profile.field_photo_allow_hires_download - field.field.node.person_profile.field_suffix - field.field.node.person_profile.field_telephone @@ -26,6 +27,7 @@ dependencies: - field_group - file - media + - telephone - text - user third_party_settings: @@ -120,6 +122,14 @@ content: third_party_settings: { } weight: 1 region: content + field_phone_number: + type: telephone_link + label: above + settings: + title: '' + third_party_settings: { } + weight: 7 + region: content field_suffix: type: string label: above diff --git a/config/sync/core.entity_view_display.node.person_profile.teaser.yml b/config/sync/core.entity_view_display.node.person_profile.teaser.yml index e381472192..02c6fe8f16 100644 --- a/config/sync/core.entity_view_display.node.person_profile.teaser.yml +++ b/config/sync/core.entity_view_display.node.person_profile.teaser.yml @@ -17,6 +17,7 @@ dependencies: - field.field.node.person_profile.field_meta_tags - field.field.node.person_profile.field_name_first - field.field.node.person_profile.field_office + - field.field.node.person_profile.field_phone_number - field.field.node.person_profile.field_photo_allow_hires_download - field.field.node.person_profile.field_suffix - field.field.node.person_profile.field_telephone @@ -49,6 +50,7 @@ hidden: field_meta_tags: true field_name_first: true field_office: true + field_phone_number: true field_photo_allow_hires_download: true field_region_page: true field_suffix: true diff --git a/config/sync/core.entity_view_display.node.vamc_system_billing_insurance.default.yml b/config/sync/core.entity_view_display.node.vamc_system_billing_insurance.default.yml index 5d11d786ef..823bf69b33 100644 --- a/config/sync/core.entity_view_display.node.vamc_system_billing_insurance.default.yml +++ b/config/sync/core.entity_view_display.node.vamc_system_billing_insurance.default.yml @@ -14,6 +14,7 @@ dependencies: - field.field.node.vamc_system_billing_insurance.field_non_clinical_services - field.field.node.vamc_system_billing_insurance.field_office - field.field.node.vamc_system_billing_insurance.field_office_hours + - field.field.node.vamc_system_billing_insurance.field_phone_number - field.field.node.vamc_system_billing_insurance.field_service_name_and_descripti - field.field.node.vamc_system_billing_insurance.field_telephone - node.type.vamc_system_billing_insurance @@ -23,6 +24,7 @@ dependencies: - entity_reference_revisions - field_group - office_hours + - telephone - user - viewfield third_party_settings: @@ -186,6 +188,14 @@ content: third_party_settings: { } weight: 2 region: content + field_phone_number: + type: telephone_link + label: above + settings: + title: '' + third_party_settings: { } + weight: 0 + region: content field_telephone: type: entity_reference_revisions_entity_view label: above diff --git a/config/sync/core.entity_view_display.node.vamc_system_billing_insurance.search_index.yml b/config/sync/core.entity_view_display.node.vamc_system_billing_insurance.search_index.yml index 8f3502144c..5b3d5e3dc6 100644 --- a/config/sync/core.entity_view_display.node.vamc_system_billing_insurance.search_index.yml +++ b/config/sync/core.entity_view_display.node.vamc_system_billing_insurance.search_index.yml @@ -15,6 +15,7 @@ dependencies: - field.field.node.vamc_system_billing_insurance.field_non_clinical_services - field.field.node.vamc_system_billing_insurance.field_office - field.field.node.vamc_system_billing_insurance.field_office_hours + - field.field.node.vamc_system_billing_insurance.field_phone_number - field.field.node.vamc_system_billing_insurance.field_service_name_and_descripti - field.field.node.vamc_system_billing_insurance.field_telephone - node.type.vamc_system_billing_insurance @@ -193,6 +194,7 @@ hidden: field_enforce_unique_combo_offic: true field_last_saved_by_an_editor: true field_office: true + field_phone_number: true field_service_name_and_descripti: true langcode: true search_api_excerpt: true diff --git a/config/sync/core.entity_view_display.node.vamc_system_billing_insurance.teaser.yml b/config/sync/core.entity_view_display.node.vamc_system_billing_insurance.teaser.yml index 5a02b02514..4f1759fc5a 100644 --- a/config/sync/core.entity_view_display.node.vamc_system_billing_insurance.teaser.yml +++ b/config/sync/core.entity_view_display.node.vamc_system_billing_insurance.teaser.yml @@ -15,6 +15,7 @@ dependencies: - field.field.node.vamc_system_billing_insurance.field_non_clinical_services - field.field.node.vamc_system_billing_insurance.field_office - field.field.node.vamc_system_billing_insurance.field_office_hours + - field.field.node.vamc_system_billing_insurance.field_phone_number - field.field.node.vamc_system_billing_insurance.field_service_name_and_descripti - field.field.node.vamc_system_billing_insurance.field_telephone - node.type.vamc_system_billing_insurance @@ -58,6 +59,7 @@ hidden: field_non_clinical_services: true field_office: true field_office_hours: true + field_phone_number: true field_service_name_and_descripti: true field_telephone: true langcode: true diff --git a/config/sync/field.field.node.health_care_local_facility.field_phone_number.yml b/config/sync/field.field.node.health_care_local_facility.field_phone_number.yml new file mode 100644 index 0000000000..45b797bbb9 --- /dev/null +++ b/config/sync/field.field.node.health_care_local_facility.field_phone_number.yml @@ -0,0 +1,25 @@ +uuid: 555f9b76-04aa-4b90-a4ed-564680d3e7e5 +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_phone_number + - node.type.health_care_local_facility + module: + - telephone + - tmgmt_content +third_party_settings: + tmgmt_content: + excluded: false +id: node.health_care_local_facility.field_phone_number +field_name: field_phone_number +entity_type: node +bundle: health_care_local_facility +label: 'Phone number' +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: telephone diff --git a/config/sync/field.field.node.person_profile.field_phone_number.yml b/config/sync/field.field.node.person_profile.field_phone_number.yml new file mode 100644 index 0000000000..7328f1b688 --- /dev/null +++ b/config/sync/field.field.node.person_profile.field_phone_number.yml @@ -0,0 +1,21 @@ +uuid: cf0a6431-a140-4b1e-9163-63aa66793fb7 +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_phone_number + - node.type.person_profile + module: + - telephone +id: node.person_profile.field_phone_number +field_name: field_phone_number +entity_type: node +bundle: person_profile +label: 'Phone Number' +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: telephone diff --git a/config/sync/field.field.node.vamc_system_billing_insurance.field_phone_number.yml b/config/sync/field.field.node.vamc_system_billing_insurance.field_phone_number.yml new file mode 100644 index 0000000000..18b1be8450 --- /dev/null +++ b/config/sync/field.field.node.vamc_system_billing_insurance.field_phone_number.yml @@ -0,0 +1,21 @@ +uuid: 2db88d6d-a01f-40a9-9e5b-406ee788db4c +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_phone_number + - node.type.vamc_system_billing_insurance + module: + - telephone +id: node.vamc_system_billing_insurance.field_phone_number +field_name: field_phone_number +entity_type: node +bundle: vamc_system_billing_insurance +label: 'Phone number' +description: 'Format: 800-983-0932' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: telephone From 80bdbe6dc6b8272c1dcde41f7f2e824e647d1eb2 Mon Sep 17 00:00:00 2001 From: Christian Burk <766573+omahane@users.noreply.github.com> Date: Mon, 16 Dec 2024 08:50:28 -0800 Subject: [PATCH 06/11] VACMS-19967: Removes old mental health phone number --- ...ode.health_care_local_facility.default.yml | 9 - ...care_local_facility.inline_entity_form.yml | 2 - ...ode.health_care_local_facility.default.yml | 9 - ...h_care_local_facility.external_content.yml | 2 - ...e.health_care_local_facility.ief_table.yml | 2 - ...node.health_care_local_facility.teaser.yml | 2 - ...cal_facility.field_mental_health_phone.yml | 25 --- ...storage.node.field_mental_health_phone.yml | 19 -- .../sync/views.view.rich_text_field_audit.yml | 195 +----------------- 9 files changed, 1 insertion(+), 264 deletions(-) delete mode 100644 config/sync/field.field.node.health_care_local_facility.field_mental_health_phone.yml delete mode 100644 config/sync/field.storage.node.field_mental_health_phone.yml diff --git a/config/sync/core.entity_form_display.node.health_care_local_facility.default.yml b/config/sync/core.entity_form_display.node.health_care_local_facility.default.yml index b09a71535b..b306b415f8 100644 --- a/config/sync/core.entity_form_display.node.health_care_local_facility.default.yml +++ b/config/sync/core.entity_form_display.node.health_care_local_facility.default.yml @@ -15,7 +15,6 @@ dependencies: - field.field.node.health_care_local_facility.field_location_services - field.field.node.health_care_local_facility.field_main_location - field.field.node.health_care_local_facility.field_media - - field.field.node.health_care_local_facility.field_mental_health_phone - field.field.node.health_care_local_facility.field_meta_tags - field.field.node.health_care_local_facility.field_mobile - field.field.node.health_care_local_facility.field_office_hours @@ -37,7 +36,6 @@ dependencies: - media_library - office_hours - paragraphs - - paragraphs_features - path - telephone - textfield_counter @@ -335,13 +333,6 @@ content: settings: media_types: { } third_party_settings: { } - field_mental_health_phone: - type: telephone_default - weight: 21 - region: content - settings: - placeholder: '' - third_party_settings: { } field_mobile: type: boolean_checkbox weight: 26 diff --git a/config/sync/core.entity_form_display.node.health_care_local_facility.inline_entity_form.yml b/config/sync/core.entity_form_display.node.health_care_local_facility.inline_entity_form.yml index e8ea110334..c3a08b8249 100644 --- a/config/sync/core.entity_form_display.node.health_care_local_facility.inline_entity_form.yml +++ b/config/sync/core.entity_form_display.node.health_care_local_facility.inline_entity_form.yml @@ -16,7 +16,6 @@ dependencies: - field.field.node.health_care_local_facility.field_location_services - field.field.node.health_care_local_facility.field_main_location - field.field.node.health_care_local_facility.field_media - - field.field.node.health_care_local_facility.field_mental_health_phone - field.field.node.health_care_local_facility.field_meta_tags - field.field.node.health_care_local_facility.field_mobile - field.field.node.health_care_local_facility.field_office_hours @@ -152,7 +151,6 @@ hidden: field_location_services: true field_main_location: true field_media: true - field_mental_health_phone: true field_meta_tags: true field_mobile: true field_office_hours: true diff --git a/config/sync/core.entity_view_display.node.health_care_local_facility.default.yml b/config/sync/core.entity_view_display.node.health_care_local_facility.default.yml index 7882b68f4f..a153f374d0 100644 --- a/config/sync/core.entity_view_display.node.health_care_local_facility.default.yml +++ b/config/sync/core.entity_view_display.node.health_care_local_facility.default.yml @@ -15,7 +15,6 @@ dependencies: - field.field.node.health_care_local_facility.field_location_services - field.field.node.health_care_local_facility.field_main_location - field.field.node.health_care_local_facility.field_media - - field.field.node.health_care_local_facility.field_mental_health_phone - field.field.node.health_care_local_facility.field_meta_tags - field.field.node.health_care_local_facility.field_mobile - field.field.node.health_care_local_facility.field_office_hours @@ -202,14 +201,6 @@ content: third_party_settings: { } weight: 0 region: content - field_mental_health_phone: - type: telephone_link - label: inline - settings: - title: '' - third_party_settings: { } - weight: 19 - region: content field_mobile: type: boolean label: inline diff --git a/config/sync/core.entity_view_display.node.health_care_local_facility.external_content.yml b/config/sync/core.entity_view_display.node.health_care_local_facility.external_content.yml index 063f055861..034d4426df 100644 --- a/config/sync/core.entity_view_display.node.health_care_local_facility.external_content.yml +++ b/config/sync/core.entity_view_display.node.health_care_local_facility.external_content.yml @@ -16,7 +16,6 @@ dependencies: - field.field.node.health_care_local_facility.field_location_services - field.field.node.health_care_local_facility.field_main_location - field.field.node.health_care_local_facility.field_media - - field.field.node.health_care_local_facility.field_mental_health_phone - field.field.node.health_care_local_facility.field_meta_tags - field.field.node.health_care_local_facility.field_mobile - field.field.node.health_care_local_facility.field_office_hours @@ -267,7 +266,6 @@ hidden: field_location_services: true field_main_location: true field_media: true - field_mental_health_phone: true field_meta_tags: true field_meta_title: true field_operating_status_facility: true diff --git a/config/sync/core.entity_view_display.node.health_care_local_facility.ief_table.yml b/config/sync/core.entity_view_display.node.health_care_local_facility.ief_table.yml index 81891d2b24..32ac805697 100644 --- a/config/sync/core.entity_view_display.node.health_care_local_facility.ief_table.yml +++ b/config/sync/core.entity_view_display.node.health_care_local_facility.ief_table.yml @@ -16,7 +16,6 @@ dependencies: - field.field.node.health_care_local_facility.field_location_services - field.field.node.health_care_local_facility.field_main_location - field.field.node.health_care_local_facility.field_media - - field.field.node.health_care_local_facility.field_mental_health_phone - field.field.node.health_care_local_facility.field_meta_tags - field.field.node.health_care_local_facility.field_mobile - field.field.node.health_care_local_facility.field_office_hours @@ -120,7 +119,6 @@ hidden: field_local_health_care_service_: true field_location_services: true field_main_location: true - field_mental_health_phone: true field_meta_tags: true field_mobile: true field_office_hours: true diff --git a/config/sync/core.entity_view_display.node.health_care_local_facility.teaser.yml b/config/sync/core.entity_view_display.node.health_care_local_facility.teaser.yml index 222770f668..b5e4c489c4 100644 --- a/config/sync/core.entity_view_display.node.health_care_local_facility.teaser.yml +++ b/config/sync/core.entity_view_display.node.health_care_local_facility.teaser.yml @@ -16,7 +16,6 @@ dependencies: - field.field.node.health_care_local_facility.field_location_services - field.field.node.health_care_local_facility.field_main_location - field.field.node.health_care_local_facility.field_media - - field.field.node.health_care_local_facility.field_mental_health_phone - field.field.node.health_care_local_facility.field_meta_tags - field.field.node.health_care_local_facility.field_mobile - field.field.node.health_care_local_facility.field_office_hours @@ -96,7 +95,6 @@ hidden: field_location_services: true field_main_location: true field_media: true - field_mental_health_phone: true field_meta_tags: true field_mobile: true field_office_hours: true diff --git a/config/sync/field.field.node.health_care_local_facility.field_mental_health_phone.yml b/config/sync/field.field.node.health_care_local_facility.field_mental_health_phone.yml deleted file mode 100644 index ff107baf8e..0000000000 --- a/config/sync/field.field.node.health_care_local_facility.field_mental_health_phone.yml +++ /dev/null @@ -1,25 +0,0 @@ -uuid: 656f6da0-b259-4b9c-869c-c80b82ef0d8a -langcode: en -status: true -dependencies: - config: - - field.storage.node.field_mental_health_phone - - node.type.health_care_local_facility - module: - - telephone - - tmgmt_content -third_party_settings: - tmgmt_content: - excluded: false -id: node.health_care_local_facility.field_mental_health_phone -field_name: field_mental_health_phone -entity_type: node -bundle: health_care_local_facility -label: 'Mental health phone number' -description: '' -required: false -translatable: false -default_value: { } -default_value_callback: '' -settings: { } -field_type: telephone diff --git a/config/sync/field.storage.node.field_mental_health_phone.yml b/config/sync/field.storage.node.field_mental_health_phone.yml deleted file mode 100644 index ad6c5f0969..0000000000 --- a/config/sync/field.storage.node.field_mental_health_phone.yml +++ /dev/null @@ -1,19 +0,0 @@ -uuid: ee0ed02d-ae8d-4e48-b1b8-d94ac4f97522 -langcode: en -status: true -dependencies: - module: - - node - - telephone -id: node.field_mental_health_phone -field_name: field_mental_health_phone -entity_type: node -type: telephone -settings: { } -module: telephone -locked: false -cardinality: 1 -translatable: true -indexes: { } -persist_with_no_fields: false -custom_storage: false diff --git a/config/sync/views.view.rich_text_field_audit.yml b/config/sync/views.view.rich_text_field_audit.yml index a82599e520..1d7f97684d 100644 --- a/config/sync/views.view.rich_text_field_audit.yml +++ b/config/sync/views.view.rich_text_field_audit.yml @@ -1,6 +1,6 @@ uuid: 65cea52c-22c0-4931-a3dc-b371c0053614 langcode: en -status: true +status: false dependencies: config: - field.storage.node.body @@ -9,7 +9,6 @@ dependencies: - field.storage.node.field_banner_alert_situationinfo - field.storage.node.field_content_block - field.storage.node.field_full_story - - field.storage.node.field_mental_health_phone - field.storage.node.field_phone_number - field.storage.node.field_press_release_blurb - field.storage.node.field_press_release_fulltext @@ -4036,69 +4035,6 @@ display: multi_type: separator separator: ', ' field_api_classes: false - field_mental_health_phone: - id: field_mental_health_phone - table: node__field_mental_health_phone - field: field_mental_health_phone - relationship: none - group_type: group - admin_label: '' - plugin_id: field - label: 'Mental Health Phone (old)' - exclude: false - alter: - alter_text: false - text: '' - make_link: false - path: '' - absolute: false - external: false - replace_spaces: false - path_case: none - trim_whitespace: false - alt: '' - rel: '' - link_class: '' - prefix: '' - suffix: '' - target: '' - nl2br: false - max_length: 0 - word_boundary: true - ellipsis: true - more_link: false - more_link_text: '' - more_link_path: '' - strip_tags: false - trim: false - preserve_tags: '' - html: false - element_type: '' - element_class: '' - element_label_type: '' - element_label_class: '' - element_label_colon: true - element_wrapper_type: '' - element_wrapper_class: '' - element_default_classes: true - empty: '' - hide_empty: false - empty_zero: false - hide_alter_empty: true - click_sort_column: value - type: telephone_link - settings: - title: '' - group_column: value - group_columns: { } - group_rows: true - delta_limit: 0 - delta_offset: 0 - delta_reversed: false - delta_first_last: false - multi_type: separator - separator: ', ' - field_api_classes: false field_va_health_connect_phone: id: field_va_health_connect_phone table: node__field_va_health_connect_phone @@ -4753,7 +4689,6 @@ display: - user.roles tags: - 'config:field.storage.node.field_administration' - - 'config:field.storage.node.field_mental_health_phone' - 'config:field.storage.node.field_phone_number' - 'config:field.storage.node.field_va_health_connect_phone' - 'config:field.storage.paragraph.field_phone_extension' @@ -5263,69 +5198,6 @@ display: multi_type: separator separator: ', ' field_api_classes: false - field_mental_health_phone: - id: field_mental_health_phone - table: node__field_mental_health_phone - field: field_mental_health_phone - relationship: none - group_type: group - admin_label: '' - plugin_id: field - label: 'Mental Health Phone (old)' - exclude: false - alter: - alter_text: false - text: '' - make_link: false - path: '' - absolute: false - external: false - replace_spaces: false - path_case: none - trim_whitespace: false - alt: '' - rel: '' - link_class: '' - prefix: '' - suffix: '' - target: '' - nl2br: false - max_length: 0 - word_boundary: true - ellipsis: true - more_link: false - more_link_text: '' - more_link_path: '' - strip_tags: false - trim: false - preserve_tags: '' - html: false - element_type: '' - element_class: '' - element_label_type: '' - element_label_class: '' - element_label_colon: true - element_wrapper_type: '' - element_wrapper_class: '' - element_default_classes: true - empty: '' - hide_empty: false - empty_zero: false - hide_alter_empty: true - click_sort_column: value - type: telephone_link - settings: - title: '' - group_column: value - group_columns: { } - group_rows: true - delta_limit: 0 - delta_offset: 0 - delta_reversed: false - delta_first_last: false - multi_type: separator - separator: ', ' - field_api_classes: false field_va_health_connect_phone: id: field_va_health_connect_phone table: node__field_va_health_connect_phone @@ -6156,7 +6028,6 @@ display: - user.roles tags: - 'config:field.storage.node.field_administration' - - 'config:field.storage.node.field_mental_health_phone' - 'config:field.storage.node.field_phone_number' - 'config:field.storage.node.field_va_health_connect_phone' - 'config:field.storage.paragraph.field_phone_extension' @@ -6666,69 +6537,6 @@ display: multi_type: separator separator: ', ' field_api_classes: false - field_mental_health_phone: - id: field_mental_health_phone - table: node__field_mental_health_phone - field: field_mental_health_phone - relationship: none - group_type: group - admin_label: '' - plugin_id: field - label: 'Mental Health Phone (old)' - exclude: false - alter: - alter_text: false - text: '' - make_link: false - path: '' - absolute: false - external: false - replace_spaces: false - path_case: none - trim_whitespace: false - alt: '' - rel: '' - link_class: '' - prefix: '' - suffix: '' - target: '' - nl2br: false - max_length: 0 - word_boundary: true - ellipsis: true - more_link: false - more_link_text: '' - more_link_path: '' - strip_tags: false - trim: false - preserve_tags: '' - html: false - element_type: '' - element_class: '' - element_label_type: '' - element_label_class: '' - element_label_colon: true - element_wrapper_type: '' - element_wrapper_class: '' - element_default_classes: true - empty: '' - hide_empty: false - empty_zero: false - hide_alter_empty: true - click_sort_column: value - type: telephone_link - settings: - title: '' - group_column: value - group_columns: { } - group_rows: true - delta_limit: 0 - delta_offset: 0 - delta_reversed: false - delta_first_last: false - multi_type: separator - separator: ', ' - field_api_classes: false field_va_health_connect_phone: id: field_va_health_connect_phone table: node__field_va_health_connect_phone @@ -7335,7 +7143,6 @@ display: - user.roles tags: - 'config:field.storage.node.field_administration' - - 'config:field.storage.node.field_mental_health_phone' - 'config:field.storage.node.field_phone_number' - 'config:field.storage.node.field_va_health_connect_phone' - 'config:field.storage.paragraph.field_phone_extension' From 23dc034230822a4da7b6d074795b42f1471789e4 Mon Sep 17 00:00:00 2001 From: Christian Burk <766573+omahane@users.noreply.github.com> Date: Mon, 16 Dec 2024 09:17:27 -0800 Subject: [PATCH 07/11] Revert "VACMS-19967: Removes old mental health phone number" This reverts commit 80bdbe6dc6b8272c1dcde41f7f2e824e647d1eb2. --- ...ode.health_care_local_facility.default.yml | 9 + ...care_local_facility.inline_entity_form.yml | 2 + ...ode.health_care_local_facility.default.yml | 9 + ...h_care_local_facility.external_content.yml | 2 + ...e.health_care_local_facility.ief_table.yml | 2 + ...node.health_care_local_facility.teaser.yml | 2 + ...cal_facility.field_mental_health_phone.yml | 25 +++ ...storage.node.field_mental_health_phone.yml | 19 ++ .../sync/views.view.rich_text_field_audit.yml | 195 +++++++++++++++++- 9 files changed, 264 insertions(+), 1 deletion(-) create mode 100644 config/sync/field.field.node.health_care_local_facility.field_mental_health_phone.yml create mode 100644 config/sync/field.storage.node.field_mental_health_phone.yml diff --git a/config/sync/core.entity_form_display.node.health_care_local_facility.default.yml b/config/sync/core.entity_form_display.node.health_care_local_facility.default.yml index b306b415f8..b09a71535b 100644 --- a/config/sync/core.entity_form_display.node.health_care_local_facility.default.yml +++ b/config/sync/core.entity_form_display.node.health_care_local_facility.default.yml @@ -15,6 +15,7 @@ dependencies: - field.field.node.health_care_local_facility.field_location_services - field.field.node.health_care_local_facility.field_main_location - field.field.node.health_care_local_facility.field_media + - field.field.node.health_care_local_facility.field_mental_health_phone - field.field.node.health_care_local_facility.field_meta_tags - field.field.node.health_care_local_facility.field_mobile - field.field.node.health_care_local_facility.field_office_hours @@ -36,6 +37,7 @@ dependencies: - media_library - office_hours - paragraphs + - paragraphs_features - path - telephone - textfield_counter @@ -333,6 +335,13 @@ content: settings: media_types: { } third_party_settings: { } + field_mental_health_phone: + type: telephone_default + weight: 21 + region: content + settings: + placeholder: '' + third_party_settings: { } field_mobile: type: boolean_checkbox weight: 26 diff --git a/config/sync/core.entity_form_display.node.health_care_local_facility.inline_entity_form.yml b/config/sync/core.entity_form_display.node.health_care_local_facility.inline_entity_form.yml index c3a08b8249..e8ea110334 100644 --- a/config/sync/core.entity_form_display.node.health_care_local_facility.inline_entity_form.yml +++ b/config/sync/core.entity_form_display.node.health_care_local_facility.inline_entity_form.yml @@ -16,6 +16,7 @@ dependencies: - field.field.node.health_care_local_facility.field_location_services - field.field.node.health_care_local_facility.field_main_location - field.field.node.health_care_local_facility.field_media + - field.field.node.health_care_local_facility.field_mental_health_phone - field.field.node.health_care_local_facility.field_meta_tags - field.field.node.health_care_local_facility.field_mobile - field.field.node.health_care_local_facility.field_office_hours @@ -151,6 +152,7 @@ hidden: field_location_services: true field_main_location: true field_media: true + field_mental_health_phone: true field_meta_tags: true field_mobile: true field_office_hours: true diff --git a/config/sync/core.entity_view_display.node.health_care_local_facility.default.yml b/config/sync/core.entity_view_display.node.health_care_local_facility.default.yml index a153f374d0..7882b68f4f 100644 --- a/config/sync/core.entity_view_display.node.health_care_local_facility.default.yml +++ b/config/sync/core.entity_view_display.node.health_care_local_facility.default.yml @@ -15,6 +15,7 @@ dependencies: - field.field.node.health_care_local_facility.field_location_services - field.field.node.health_care_local_facility.field_main_location - field.field.node.health_care_local_facility.field_media + - field.field.node.health_care_local_facility.field_mental_health_phone - field.field.node.health_care_local_facility.field_meta_tags - field.field.node.health_care_local_facility.field_mobile - field.field.node.health_care_local_facility.field_office_hours @@ -201,6 +202,14 @@ content: third_party_settings: { } weight: 0 region: content + field_mental_health_phone: + type: telephone_link + label: inline + settings: + title: '' + third_party_settings: { } + weight: 19 + region: content field_mobile: type: boolean label: inline diff --git a/config/sync/core.entity_view_display.node.health_care_local_facility.external_content.yml b/config/sync/core.entity_view_display.node.health_care_local_facility.external_content.yml index 034d4426df..063f055861 100644 --- a/config/sync/core.entity_view_display.node.health_care_local_facility.external_content.yml +++ b/config/sync/core.entity_view_display.node.health_care_local_facility.external_content.yml @@ -16,6 +16,7 @@ dependencies: - field.field.node.health_care_local_facility.field_location_services - field.field.node.health_care_local_facility.field_main_location - field.field.node.health_care_local_facility.field_media + - field.field.node.health_care_local_facility.field_mental_health_phone - field.field.node.health_care_local_facility.field_meta_tags - field.field.node.health_care_local_facility.field_mobile - field.field.node.health_care_local_facility.field_office_hours @@ -266,6 +267,7 @@ hidden: field_location_services: true field_main_location: true field_media: true + field_mental_health_phone: true field_meta_tags: true field_meta_title: true field_operating_status_facility: true diff --git a/config/sync/core.entity_view_display.node.health_care_local_facility.ief_table.yml b/config/sync/core.entity_view_display.node.health_care_local_facility.ief_table.yml index 32ac805697..81891d2b24 100644 --- a/config/sync/core.entity_view_display.node.health_care_local_facility.ief_table.yml +++ b/config/sync/core.entity_view_display.node.health_care_local_facility.ief_table.yml @@ -16,6 +16,7 @@ dependencies: - field.field.node.health_care_local_facility.field_location_services - field.field.node.health_care_local_facility.field_main_location - field.field.node.health_care_local_facility.field_media + - field.field.node.health_care_local_facility.field_mental_health_phone - field.field.node.health_care_local_facility.field_meta_tags - field.field.node.health_care_local_facility.field_mobile - field.field.node.health_care_local_facility.field_office_hours @@ -119,6 +120,7 @@ hidden: field_local_health_care_service_: true field_location_services: true field_main_location: true + field_mental_health_phone: true field_meta_tags: true field_mobile: true field_office_hours: true diff --git a/config/sync/core.entity_view_display.node.health_care_local_facility.teaser.yml b/config/sync/core.entity_view_display.node.health_care_local_facility.teaser.yml index b5e4c489c4..222770f668 100644 --- a/config/sync/core.entity_view_display.node.health_care_local_facility.teaser.yml +++ b/config/sync/core.entity_view_display.node.health_care_local_facility.teaser.yml @@ -16,6 +16,7 @@ dependencies: - field.field.node.health_care_local_facility.field_location_services - field.field.node.health_care_local_facility.field_main_location - field.field.node.health_care_local_facility.field_media + - field.field.node.health_care_local_facility.field_mental_health_phone - field.field.node.health_care_local_facility.field_meta_tags - field.field.node.health_care_local_facility.field_mobile - field.field.node.health_care_local_facility.field_office_hours @@ -95,6 +96,7 @@ hidden: field_location_services: true field_main_location: true field_media: true + field_mental_health_phone: true field_meta_tags: true field_mobile: true field_office_hours: true diff --git a/config/sync/field.field.node.health_care_local_facility.field_mental_health_phone.yml b/config/sync/field.field.node.health_care_local_facility.field_mental_health_phone.yml new file mode 100644 index 0000000000..ff107baf8e --- /dev/null +++ b/config/sync/field.field.node.health_care_local_facility.field_mental_health_phone.yml @@ -0,0 +1,25 @@ +uuid: 656f6da0-b259-4b9c-869c-c80b82ef0d8a +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_mental_health_phone + - node.type.health_care_local_facility + module: + - telephone + - tmgmt_content +third_party_settings: + tmgmt_content: + excluded: false +id: node.health_care_local_facility.field_mental_health_phone +field_name: field_mental_health_phone +entity_type: node +bundle: health_care_local_facility +label: 'Mental health phone number' +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: telephone diff --git a/config/sync/field.storage.node.field_mental_health_phone.yml b/config/sync/field.storage.node.field_mental_health_phone.yml new file mode 100644 index 0000000000..ad6c5f0969 --- /dev/null +++ b/config/sync/field.storage.node.field_mental_health_phone.yml @@ -0,0 +1,19 @@ +uuid: ee0ed02d-ae8d-4e48-b1b8-d94ac4f97522 +langcode: en +status: true +dependencies: + module: + - node + - telephone +id: node.field_mental_health_phone +field_name: field_mental_health_phone +entity_type: node +type: telephone +settings: { } +module: telephone +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/config/sync/views.view.rich_text_field_audit.yml b/config/sync/views.view.rich_text_field_audit.yml index 1d7f97684d..a82599e520 100644 --- a/config/sync/views.view.rich_text_field_audit.yml +++ b/config/sync/views.view.rich_text_field_audit.yml @@ -1,6 +1,6 @@ uuid: 65cea52c-22c0-4931-a3dc-b371c0053614 langcode: en -status: false +status: true dependencies: config: - field.storage.node.body @@ -9,6 +9,7 @@ dependencies: - field.storage.node.field_banner_alert_situationinfo - field.storage.node.field_content_block - field.storage.node.field_full_story + - field.storage.node.field_mental_health_phone - field.storage.node.field_phone_number - field.storage.node.field_press_release_blurb - field.storage.node.field_press_release_fulltext @@ -4035,6 +4036,69 @@ display: multi_type: separator separator: ', ' field_api_classes: false + field_mental_health_phone: + id: field_mental_health_phone + table: node__field_mental_health_phone + field: field_mental_health_phone + relationship: none + group_type: group + admin_label: '' + plugin_id: field + label: 'Mental Health Phone (old)' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: true + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: telephone_link + settings: + title: '' + group_column: value + group_columns: { } + group_rows: true + delta_limit: 0 + delta_offset: 0 + delta_reversed: false + delta_first_last: false + multi_type: separator + separator: ', ' + field_api_classes: false field_va_health_connect_phone: id: field_va_health_connect_phone table: node__field_va_health_connect_phone @@ -4689,6 +4753,7 @@ display: - user.roles tags: - 'config:field.storage.node.field_administration' + - 'config:field.storage.node.field_mental_health_phone' - 'config:field.storage.node.field_phone_number' - 'config:field.storage.node.field_va_health_connect_phone' - 'config:field.storage.paragraph.field_phone_extension' @@ -5198,6 +5263,69 @@ display: multi_type: separator separator: ', ' field_api_classes: false + field_mental_health_phone: + id: field_mental_health_phone + table: node__field_mental_health_phone + field: field_mental_health_phone + relationship: none + group_type: group + admin_label: '' + plugin_id: field + label: 'Mental Health Phone (old)' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: true + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: telephone_link + settings: + title: '' + group_column: value + group_columns: { } + group_rows: true + delta_limit: 0 + delta_offset: 0 + delta_reversed: false + delta_first_last: false + multi_type: separator + separator: ', ' + field_api_classes: false field_va_health_connect_phone: id: field_va_health_connect_phone table: node__field_va_health_connect_phone @@ -6028,6 +6156,7 @@ display: - user.roles tags: - 'config:field.storage.node.field_administration' + - 'config:field.storage.node.field_mental_health_phone' - 'config:field.storage.node.field_phone_number' - 'config:field.storage.node.field_va_health_connect_phone' - 'config:field.storage.paragraph.field_phone_extension' @@ -6537,6 +6666,69 @@ display: multi_type: separator separator: ', ' field_api_classes: false + field_mental_health_phone: + id: field_mental_health_phone + table: node__field_mental_health_phone + field: field_mental_health_phone + relationship: none + group_type: group + admin_label: '' + plugin_id: field + label: 'Mental Health Phone (old)' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: true + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: telephone_link + settings: + title: '' + group_column: value + group_columns: { } + group_rows: true + delta_limit: 0 + delta_offset: 0 + delta_reversed: false + delta_first_last: false + multi_type: separator + separator: ', ' + field_api_classes: false field_va_health_connect_phone: id: field_va_health_connect_phone table: node__field_va_health_connect_phone @@ -7143,6 +7335,7 @@ display: - user.roles tags: - 'config:field.storage.node.field_administration' + - 'config:field.storage.node.field_mental_health_phone' - 'config:field.storage.node.field_phone_number' - 'config:field.storage.node.field_va_health_connect_phone' - 'config:field.storage.paragraph.field_phone_extension' From 56670d01e75a5863eb8853c2264eb6111884773e Mon Sep 17 00:00:00 2001 From: Christian Burk <766573+omahane@users.noreply.github.com> Date: Mon, 16 Dec 2024 09:32:44 -0800 Subject: [PATCH 08/11] VACMS-19967: Updates view to remove old number --- .../sync/views.view.rich_text_field_audit.yml | 90 ++++--------------- 1 file changed, 19 insertions(+), 71 deletions(-) diff --git a/config/sync/views.view.rich_text_field_audit.yml b/config/sync/views.view.rich_text_field_audit.yml index a82599e520..f48553fb4b 100644 --- a/config/sync/views.view.rich_text_field_audit.yml +++ b/config/sync/views.view.rich_text_field_audit.yml @@ -4036,69 +4036,6 @@ display: multi_type: separator separator: ', ' field_api_classes: false - field_mental_health_phone: - id: field_mental_health_phone - table: node__field_mental_health_phone - field: field_mental_health_phone - relationship: none - group_type: group - admin_label: '' - plugin_id: field - label: 'Mental Health Phone (old)' - exclude: false - alter: - alter_text: false - text: '' - make_link: false - path: '' - absolute: false - external: false - replace_spaces: false - path_case: none - trim_whitespace: false - alt: '' - rel: '' - link_class: '' - prefix: '' - suffix: '' - target: '' - nl2br: false - max_length: 0 - word_boundary: true - ellipsis: true - more_link: false - more_link_text: '' - more_link_path: '' - strip_tags: false - trim: false - preserve_tags: '' - html: false - element_type: '' - element_class: '' - element_label_type: '' - element_label_class: '' - element_label_colon: true - element_wrapper_type: '' - element_wrapper_class: '' - element_default_classes: true - empty: '' - hide_empty: false - empty_zero: false - hide_alter_empty: true - click_sort_column: value - type: telephone_link - settings: - title: '' - group_column: value - group_columns: { } - group_rows: true - delta_limit: 0 - delta_offset: 0 - delta_reversed: false - delta_first_last: false - multi_type: separator - separator: ', ' - field_api_classes: false field_va_health_connect_phone: id: field_va_health_connect_phone table: node__field_va_health_connect_phone @@ -4577,6 +4514,7 @@ display: content_creator_resources_and_support: '0' office_content_creator: '0' vamc_content_creator: '0' + content_creator_vba: '0' content_creator_vet_center: '0' content_editor: '0' content_reviewer: '0' @@ -4585,6 +4523,10 @@ display: redirect_administrator: '0' admnistrator_users: '0' administrator: '0' + homepage_manager: '0' + next_js: '0' + translation_manager: '0' + rates_editor: '0' placeholder: '' is_grouped: false group_info: @@ -4600,7 +4542,6 @@ display: group_items: { } fields: field_phone_number: field_phone_number - field_mental_health_phone: field_mental_health_phone field_va_health_connect_phone: field_va_health_connect_phone filter_groups: operator: AND @@ -4621,8 +4562,9 @@ display: moderation_state: moderation_state field_administration: field_administration field_phone_number: field_phone_number - field_mental_health_phone: field_mental_health_phone field_va_health_connect_phone: field_va_health_connect_phone + field_phone_extension: field_phone_extension + field_phone_number_1: field_phone_number_1 default: '-1' info: title: @@ -4675,21 +4617,28 @@ display: empty_column: false responsive: '' field_phone_number: - sortable: false + sortable: true default_sort_order: asc align: '' separator: '' empty_column: false responsive: '' - field_mental_health_phone: - sortable: false + field_va_health_connect_phone: + sortable: true default_sort_order: asc align: '' separator: '' empty_column: false responsive: '' - field_va_health_connect_phone: - sortable: false + field_phone_extension: + sortable: true + default_sort_order: asc + align: '' + separator: '' + empty_column: false + responsive: '' + field_phone_number_1: + sortable: true default_sort_order: asc align: '' separator: '' @@ -4753,7 +4702,6 @@ display: - user.roles tags: - 'config:field.storage.node.field_administration' - - 'config:field.storage.node.field_mental_health_phone' - 'config:field.storage.node.field_phone_number' - 'config:field.storage.node.field_va_health_connect_phone' - 'config:field.storage.paragraph.field_phone_extension' From 5f05034d2e8e7015ca1a1bfcd475ef6354a1c930 Mon Sep 17 00:00:00 2001 From: Christian Burk <766573+omahane@users.noreply.github.com> Date: Mon, 16 Dec 2024 09:46:29 -0800 Subject: [PATCH 09/11] VACMS-19667: Removes old phone from staff profile --- ...rm_display.node.person_profile.default.yml | 9 -------- ...node.person_profile.inline_entity_form.yml | 9 -------- ...ew_display.node.person_profile.default.yml | 10 --------- ...iew_display.node.person_profile.teaser.yml | 2 -- ...node.person_profile.field_phone_number.yml | 21 ------------------- .../sync/views.view.rich_text_field_audit.yml | 2 ++ 6 files changed, 2 insertions(+), 51 deletions(-) delete mode 100644 config/sync/field.field.node.person_profile.field_phone_number.yml diff --git a/config/sync/core.entity_form_display.node.person_profile.default.yml b/config/sync/core.entity_form_display.node.person_profile.default.yml index 1bc01b2277..f95eff6778 100644 --- a/config/sync/core.entity_form_display.node.person_profile.default.yml +++ b/config/sync/core.entity_form_display.node.person_profile.default.yml @@ -16,7 +16,6 @@ dependencies: - field.field.node.person_profile.field_meta_tags - field.field.node.person_profile.field_name_first - field.field.node.person_profile.field_office - - field.field.node.person_profile.field_phone_number - field.field.node.person_profile.field_photo_allow_hires_download - field.field.node.person_profile.field_suffix - field.field.node.person_profile.field_telephone @@ -29,7 +28,6 @@ dependencies: - media_library - paragraphs - path - - telephone - text - textfield_counter third_party_settings: @@ -251,13 +249,6 @@ content: region: content settings: { } third_party_settings: { } - field_phone_number: - type: telephone_default - weight: 7 - region: content - settings: - placeholder: '' - third_party_settings: { } field_photo_allow_hires_download: type: boolean_checkbox weight: 7 diff --git a/config/sync/core.entity_form_display.node.person_profile.inline_entity_form.yml b/config/sync/core.entity_form_display.node.person_profile.inline_entity_form.yml index 4920f18e2b..2145a68d7a 100644 --- a/config/sync/core.entity_form_display.node.person_profile.inline_entity_form.yml +++ b/config/sync/core.entity_form_display.node.person_profile.inline_entity_form.yml @@ -17,7 +17,6 @@ dependencies: - field.field.node.person_profile.field_meta_tags - field.field.node.person_profile.field_name_first - field.field.node.person_profile.field_office - - field.field.node.person_profile.field_phone_number - field.field.node.person_profile.field_photo_allow_hires_download - field.field.node.person_profile.field_suffix - field.field.node.person_profile.field_telephone @@ -26,7 +25,6 @@ dependencies: - field_group - media_library - paragraphs - - telephone - text third_party_settings: field_group: @@ -201,13 +199,6 @@ content: size: 60 placeholder: '' third_party_settings: { } - field_phone_number: - type: telephone_default - weight: 7 - region: content - settings: - placeholder: '' - third_party_settings: { } field_photo_allow_hires_download: type: boolean_checkbox weight: 5 diff --git a/config/sync/core.entity_view_display.node.person_profile.default.yml b/config/sync/core.entity_view_display.node.person_profile.default.yml index c583bf5042..017b8038c7 100644 --- a/config/sync/core.entity_view_display.node.person_profile.default.yml +++ b/config/sync/core.entity_view_display.node.person_profile.default.yml @@ -16,7 +16,6 @@ dependencies: - field.field.node.person_profile.field_meta_tags - field.field.node.person_profile.field_name_first - field.field.node.person_profile.field_office - - field.field.node.person_profile.field_phone_number - field.field.node.person_profile.field_photo_allow_hires_download - field.field.node.person_profile.field_suffix - field.field.node.person_profile.field_telephone @@ -27,7 +26,6 @@ dependencies: - field_group - file - media - - telephone - text - user third_party_settings: @@ -122,14 +120,6 @@ content: third_party_settings: { } weight: 1 region: content - field_phone_number: - type: telephone_link - label: above - settings: - title: '' - third_party_settings: { } - weight: 7 - region: content field_suffix: type: string label: above diff --git a/config/sync/core.entity_view_display.node.person_profile.teaser.yml b/config/sync/core.entity_view_display.node.person_profile.teaser.yml index 02c6fe8f16..e381472192 100644 --- a/config/sync/core.entity_view_display.node.person_profile.teaser.yml +++ b/config/sync/core.entity_view_display.node.person_profile.teaser.yml @@ -17,7 +17,6 @@ dependencies: - field.field.node.person_profile.field_meta_tags - field.field.node.person_profile.field_name_first - field.field.node.person_profile.field_office - - field.field.node.person_profile.field_phone_number - field.field.node.person_profile.field_photo_allow_hires_download - field.field.node.person_profile.field_suffix - field.field.node.person_profile.field_telephone @@ -50,7 +49,6 @@ hidden: field_meta_tags: true field_name_first: true field_office: true - field_phone_number: true field_photo_allow_hires_download: true field_region_page: true field_suffix: true diff --git a/config/sync/field.field.node.person_profile.field_phone_number.yml b/config/sync/field.field.node.person_profile.field_phone_number.yml deleted file mode 100644 index 7328f1b688..0000000000 --- a/config/sync/field.field.node.person_profile.field_phone_number.yml +++ /dev/null @@ -1,21 +0,0 @@ -uuid: cf0a6431-a140-4b1e-9163-63aa66793fb7 -langcode: en -status: true -dependencies: - config: - - field.storage.node.field_phone_number - - node.type.person_profile - module: - - telephone -id: node.person_profile.field_phone_number -field_name: field_phone_number -entity_type: node -bundle: person_profile -label: 'Phone Number' -description: '' -required: false -translatable: false -default_value: { } -default_value_callback: '' -settings: { } -field_type: telephone diff --git a/config/sync/views.view.rich_text_field_audit.yml b/config/sync/views.view.rich_text_field_audit.yml index f48553fb4b..f7f64b26a0 100644 --- a/config/sync/views.view.rich_text_field_audit.yml +++ b/config/sync/views.view.rich_text_field_audit.yml @@ -4543,6 +4543,8 @@ display: fields: field_phone_number: field_phone_number field_va_health_connect_phone: field_va_health_connect_phone + field_phone_extension: field_phone_extension + field_phone_number_1: field_phone_number_1 filter_groups: operator: AND groups: From 74adec6f2112ac9bcb0658c0d97fd9de82f8385d Mon Sep 17 00:00:00 2001 From: Christian Burk <766573+omahane@users.noreply.github.com> Date: Mon, 16 Dec 2024 10:49:59 -0800 Subject: [PATCH 10/11] VACMS-19967: Removes old phone from billing --- ....vamc_system_billing_insurance.default.yml | 9 -------- ....vamc_system_billing_insurance.default.yml | 10 --------- ..._system_billing_insurance.search_index.yml | 2 -- ...e.vamc_system_billing_insurance.teaser.yml | 2 -- ...m_billing_insurance.field_phone_number.yml | 21 ------------------- 5 files changed, 44 deletions(-) delete mode 100644 config/sync/field.field.node.vamc_system_billing_insurance.field_phone_number.yml diff --git a/config/sync/core.entity_form_display.node.vamc_system_billing_insurance.default.yml b/config/sync/core.entity_form_display.node.vamc_system_billing_insurance.default.yml index 0d2243732e..8087bec335 100644 --- a/config/sync/core.entity_form_display.node.vamc_system_billing_insurance.default.yml +++ b/config/sync/core.entity_form_display.node.vamc_system_billing_insurance.default.yml @@ -14,7 +14,6 @@ dependencies: - field.field.node.vamc_system_billing_insurance.field_non_clinical_services - field.field.node.vamc_system_billing_insurance.field_office - field.field.node.vamc_system_billing_insurance.field_office_hours - - field.field.node.vamc_system_billing_insurance.field_phone_number - field.field.node.vamc_system_billing_insurance.field_service_name_and_descripti - field.field.node.vamc_system_billing_insurance.field_telephone - node.type.vamc_system_billing_insurance @@ -26,7 +25,6 @@ dependencies: - field_group - office_hours - paragraphs - - telephone - viewfield third_party_settings: field_group: @@ -242,13 +240,6 @@ content: settings: collapsed: false third_party_settings: { } - field_phone_number: - type: telephone_default - weight: 10 - region: content - settings: - placeholder: '' - third_party_settings: { } field_telephone: type: entity_reference_paragraphs weight: 11 diff --git a/config/sync/core.entity_view_display.node.vamc_system_billing_insurance.default.yml b/config/sync/core.entity_view_display.node.vamc_system_billing_insurance.default.yml index 823bf69b33..5d11d786ef 100644 --- a/config/sync/core.entity_view_display.node.vamc_system_billing_insurance.default.yml +++ b/config/sync/core.entity_view_display.node.vamc_system_billing_insurance.default.yml @@ -14,7 +14,6 @@ dependencies: - field.field.node.vamc_system_billing_insurance.field_non_clinical_services - field.field.node.vamc_system_billing_insurance.field_office - field.field.node.vamc_system_billing_insurance.field_office_hours - - field.field.node.vamc_system_billing_insurance.field_phone_number - field.field.node.vamc_system_billing_insurance.field_service_name_and_descripti - field.field.node.vamc_system_billing_insurance.field_telephone - node.type.vamc_system_billing_insurance @@ -24,7 +23,6 @@ dependencies: - entity_reference_revisions - field_group - office_hours - - telephone - user - viewfield third_party_settings: @@ -188,14 +186,6 @@ content: third_party_settings: { } weight: 2 region: content - field_phone_number: - type: telephone_link - label: above - settings: - title: '' - third_party_settings: { } - weight: 0 - region: content field_telephone: type: entity_reference_revisions_entity_view label: above diff --git a/config/sync/core.entity_view_display.node.vamc_system_billing_insurance.search_index.yml b/config/sync/core.entity_view_display.node.vamc_system_billing_insurance.search_index.yml index 5b3d5e3dc6..8f3502144c 100644 --- a/config/sync/core.entity_view_display.node.vamc_system_billing_insurance.search_index.yml +++ b/config/sync/core.entity_view_display.node.vamc_system_billing_insurance.search_index.yml @@ -15,7 +15,6 @@ dependencies: - field.field.node.vamc_system_billing_insurance.field_non_clinical_services - field.field.node.vamc_system_billing_insurance.field_office - field.field.node.vamc_system_billing_insurance.field_office_hours - - field.field.node.vamc_system_billing_insurance.field_phone_number - field.field.node.vamc_system_billing_insurance.field_service_name_and_descripti - field.field.node.vamc_system_billing_insurance.field_telephone - node.type.vamc_system_billing_insurance @@ -194,7 +193,6 @@ hidden: field_enforce_unique_combo_offic: true field_last_saved_by_an_editor: true field_office: true - field_phone_number: true field_service_name_and_descripti: true langcode: true search_api_excerpt: true diff --git a/config/sync/core.entity_view_display.node.vamc_system_billing_insurance.teaser.yml b/config/sync/core.entity_view_display.node.vamc_system_billing_insurance.teaser.yml index 4f1759fc5a..5a02b02514 100644 --- a/config/sync/core.entity_view_display.node.vamc_system_billing_insurance.teaser.yml +++ b/config/sync/core.entity_view_display.node.vamc_system_billing_insurance.teaser.yml @@ -15,7 +15,6 @@ dependencies: - field.field.node.vamc_system_billing_insurance.field_non_clinical_services - field.field.node.vamc_system_billing_insurance.field_office - field.field.node.vamc_system_billing_insurance.field_office_hours - - field.field.node.vamc_system_billing_insurance.field_phone_number - field.field.node.vamc_system_billing_insurance.field_service_name_and_descripti - field.field.node.vamc_system_billing_insurance.field_telephone - node.type.vamc_system_billing_insurance @@ -59,7 +58,6 @@ hidden: field_non_clinical_services: true field_office: true field_office_hours: true - field_phone_number: true field_service_name_and_descripti: true field_telephone: true langcode: true diff --git a/config/sync/field.field.node.vamc_system_billing_insurance.field_phone_number.yml b/config/sync/field.field.node.vamc_system_billing_insurance.field_phone_number.yml deleted file mode 100644 index 18b1be8450..0000000000 --- a/config/sync/field.field.node.vamc_system_billing_insurance.field_phone_number.yml +++ /dev/null @@ -1,21 +0,0 @@ -uuid: 2db88d6d-a01f-40a9-9e5b-406ee788db4c -langcode: en -status: true -dependencies: - config: - - field.storage.node.field_phone_number - - node.type.vamc_system_billing_insurance - module: - - telephone -id: node.vamc_system_billing_insurance.field_phone_number -field_name: field_phone_number -entity_type: node -bundle: vamc_system_billing_insurance -label: 'Phone number' -description: 'Format: 800-983-0932' -required: false -translatable: false -default_value: { } -default_value_callback: '' -settings: { } -field_type: telephone From a6d6f7daacfbb6b22c140922df1e796f184a9666 Mon Sep 17 00:00:00 2001 From: Christian Burk Date: Fri, 3 Jan 2025 16:46:25 -0600 Subject: [PATCH 11/11] VACMS-19967: Updates the view and removes the old mental health --- ...ode.health_care_local_facility.default.yml | 9 -- ...care_local_facility.inline_entity_form.yml | 2 - ...ode.health_care_local_facility.default.yml | 9 -- ...h_care_local_facility.external_content.yml | 2 - ...e.health_care_local_facility.ief_table.yml | 2 - ...node.health_care_local_facility.teaser.yml | 2 - ...cal_facility.field_mental_health_phone.yml | 25 ---- ...storage.node.field_mental_health_phone.yml | 19 --- .../sync/views.view.rich_text_field_audit.yml | 135 +----------------- 9 files changed, 5 insertions(+), 200 deletions(-) delete mode 100644 config/sync/field.field.node.health_care_local_facility.field_mental_health_phone.yml delete mode 100644 config/sync/field.storage.node.field_mental_health_phone.yml diff --git a/config/sync/core.entity_form_display.node.health_care_local_facility.default.yml b/config/sync/core.entity_form_display.node.health_care_local_facility.default.yml index b09a71535b..b306b415f8 100644 --- a/config/sync/core.entity_form_display.node.health_care_local_facility.default.yml +++ b/config/sync/core.entity_form_display.node.health_care_local_facility.default.yml @@ -15,7 +15,6 @@ dependencies: - field.field.node.health_care_local_facility.field_location_services - field.field.node.health_care_local_facility.field_main_location - field.field.node.health_care_local_facility.field_media - - field.field.node.health_care_local_facility.field_mental_health_phone - field.field.node.health_care_local_facility.field_meta_tags - field.field.node.health_care_local_facility.field_mobile - field.field.node.health_care_local_facility.field_office_hours @@ -37,7 +36,6 @@ dependencies: - media_library - office_hours - paragraphs - - paragraphs_features - path - telephone - textfield_counter @@ -335,13 +333,6 @@ content: settings: media_types: { } third_party_settings: { } - field_mental_health_phone: - type: telephone_default - weight: 21 - region: content - settings: - placeholder: '' - third_party_settings: { } field_mobile: type: boolean_checkbox weight: 26 diff --git a/config/sync/core.entity_form_display.node.health_care_local_facility.inline_entity_form.yml b/config/sync/core.entity_form_display.node.health_care_local_facility.inline_entity_form.yml index e8ea110334..c3a08b8249 100644 --- a/config/sync/core.entity_form_display.node.health_care_local_facility.inline_entity_form.yml +++ b/config/sync/core.entity_form_display.node.health_care_local_facility.inline_entity_form.yml @@ -16,7 +16,6 @@ dependencies: - field.field.node.health_care_local_facility.field_location_services - field.field.node.health_care_local_facility.field_main_location - field.field.node.health_care_local_facility.field_media - - field.field.node.health_care_local_facility.field_mental_health_phone - field.field.node.health_care_local_facility.field_meta_tags - field.field.node.health_care_local_facility.field_mobile - field.field.node.health_care_local_facility.field_office_hours @@ -152,7 +151,6 @@ hidden: field_location_services: true field_main_location: true field_media: true - field_mental_health_phone: true field_meta_tags: true field_mobile: true field_office_hours: true diff --git a/config/sync/core.entity_view_display.node.health_care_local_facility.default.yml b/config/sync/core.entity_view_display.node.health_care_local_facility.default.yml index 7882b68f4f..a153f374d0 100644 --- a/config/sync/core.entity_view_display.node.health_care_local_facility.default.yml +++ b/config/sync/core.entity_view_display.node.health_care_local_facility.default.yml @@ -15,7 +15,6 @@ dependencies: - field.field.node.health_care_local_facility.field_location_services - field.field.node.health_care_local_facility.field_main_location - field.field.node.health_care_local_facility.field_media - - field.field.node.health_care_local_facility.field_mental_health_phone - field.field.node.health_care_local_facility.field_meta_tags - field.field.node.health_care_local_facility.field_mobile - field.field.node.health_care_local_facility.field_office_hours @@ -202,14 +201,6 @@ content: third_party_settings: { } weight: 0 region: content - field_mental_health_phone: - type: telephone_link - label: inline - settings: - title: '' - third_party_settings: { } - weight: 19 - region: content field_mobile: type: boolean label: inline diff --git a/config/sync/core.entity_view_display.node.health_care_local_facility.external_content.yml b/config/sync/core.entity_view_display.node.health_care_local_facility.external_content.yml index 063f055861..034d4426df 100644 --- a/config/sync/core.entity_view_display.node.health_care_local_facility.external_content.yml +++ b/config/sync/core.entity_view_display.node.health_care_local_facility.external_content.yml @@ -16,7 +16,6 @@ dependencies: - field.field.node.health_care_local_facility.field_location_services - field.field.node.health_care_local_facility.field_main_location - field.field.node.health_care_local_facility.field_media - - field.field.node.health_care_local_facility.field_mental_health_phone - field.field.node.health_care_local_facility.field_meta_tags - field.field.node.health_care_local_facility.field_mobile - field.field.node.health_care_local_facility.field_office_hours @@ -267,7 +266,6 @@ hidden: field_location_services: true field_main_location: true field_media: true - field_mental_health_phone: true field_meta_tags: true field_meta_title: true field_operating_status_facility: true diff --git a/config/sync/core.entity_view_display.node.health_care_local_facility.ief_table.yml b/config/sync/core.entity_view_display.node.health_care_local_facility.ief_table.yml index 81891d2b24..32ac805697 100644 --- a/config/sync/core.entity_view_display.node.health_care_local_facility.ief_table.yml +++ b/config/sync/core.entity_view_display.node.health_care_local_facility.ief_table.yml @@ -16,7 +16,6 @@ dependencies: - field.field.node.health_care_local_facility.field_location_services - field.field.node.health_care_local_facility.field_main_location - field.field.node.health_care_local_facility.field_media - - field.field.node.health_care_local_facility.field_mental_health_phone - field.field.node.health_care_local_facility.field_meta_tags - field.field.node.health_care_local_facility.field_mobile - field.field.node.health_care_local_facility.field_office_hours @@ -120,7 +119,6 @@ hidden: field_local_health_care_service_: true field_location_services: true field_main_location: true - field_mental_health_phone: true field_meta_tags: true field_mobile: true field_office_hours: true diff --git a/config/sync/core.entity_view_display.node.health_care_local_facility.teaser.yml b/config/sync/core.entity_view_display.node.health_care_local_facility.teaser.yml index 222770f668..b5e4c489c4 100644 --- a/config/sync/core.entity_view_display.node.health_care_local_facility.teaser.yml +++ b/config/sync/core.entity_view_display.node.health_care_local_facility.teaser.yml @@ -16,7 +16,6 @@ dependencies: - field.field.node.health_care_local_facility.field_location_services - field.field.node.health_care_local_facility.field_main_location - field.field.node.health_care_local_facility.field_media - - field.field.node.health_care_local_facility.field_mental_health_phone - field.field.node.health_care_local_facility.field_meta_tags - field.field.node.health_care_local_facility.field_mobile - field.field.node.health_care_local_facility.field_office_hours @@ -96,7 +95,6 @@ hidden: field_location_services: true field_main_location: true field_media: true - field_mental_health_phone: true field_meta_tags: true field_mobile: true field_office_hours: true diff --git a/config/sync/field.field.node.health_care_local_facility.field_mental_health_phone.yml b/config/sync/field.field.node.health_care_local_facility.field_mental_health_phone.yml deleted file mode 100644 index ff107baf8e..0000000000 --- a/config/sync/field.field.node.health_care_local_facility.field_mental_health_phone.yml +++ /dev/null @@ -1,25 +0,0 @@ -uuid: 656f6da0-b259-4b9c-869c-c80b82ef0d8a -langcode: en -status: true -dependencies: - config: - - field.storage.node.field_mental_health_phone - - node.type.health_care_local_facility - module: - - telephone - - tmgmt_content -third_party_settings: - tmgmt_content: - excluded: false -id: node.health_care_local_facility.field_mental_health_phone -field_name: field_mental_health_phone -entity_type: node -bundle: health_care_local_facility -label: 'Mental health phone number' -description: '' -required: false -translatable: false -default_value: { } -default_value_callback: '' -settings: { } -field_type: telephone diff --git a/config/sync/field.storage.node.field_mental_health_phone.yml b/config/sync/field.storage.node.field_mental_health_phone.yml deleted file mode 100644 index ad6c5f0969..0000000000 --- a/config/sync/field.storage.node.field_mental_health_phone.yml +++ /dev/null @@ -1,19 +0,0 @@ -uuid: ee0ed02d-ae8d-4e48-b1b8-d94ac4f97522 -langcode: en -status: true -dependencies: - module: - - node - - telephone -id: node.field_mental_health_phone -field_name: field_mental_health_phone -entity_type: node -type: telephone -settings: { } -module: telephone -locked: false -cardinality: 1 -translatable: true -indexes: { } -persist_with_no_fields: false -custom_storage: false diff --git a/config/sync/views.view.rich_text_field_audit.yml b/config/sync/views.view.rich_text_field_audit.yml index f7f64b26a0..254976bfed 100644 --- a/config/sync/views.view.rich_text_field_audit.yml +++ b/config/sync/views.view.rich_text_field_audit.yml @@ -9,7 +9,6 @@ dependencies: - field.storage.node.field_banner_alert_situationinfo - field.storage.node.field_content_block - field.storage.node.field_full_story - - field.storage.node.field_mental_health_phone - field.storage.node.field_phone_number - field.storage.node.field_press_release_blurb - field.storage.node.field_press_release_fulltext @@ -5213,69 +5212,6 @@ display: multi_type: separator separator: ', ' field_api_classes: false - field_mental_health_phone: - id: field_mental_health_phone - table: node__field_mental_health_phone - field: field_mental_health_phone - relationship: none - group_type: group - admin_label: '' - plugin_id: field - label: 'Mental Health Phone (old)' - exclude: false - alter: - alter_text: false - text: '' - make_link: false - path: '' - absolute: false - external: false - replace_spaces: false - path_case: none - trim_whitespace: false - alt: '' - rel: '' - link_class: '' - prefix: '' - suffix: '' - target: '' - nl2br: false - max_length: 0 - word_boundary: true - ellipsis: true - more_link: false - more_link_text: '' - more_link_path: '' - strip_tags: false - trim: false - preserve_tags: '' - html: false - element_type: '' - element_class: '' - element_label_type: '' - element_label_class: '' - element_label_colon: true - element_wrapper_type: '' - element_wrapper_class: '' - element_default_classes: true - empty: '' - hide_empty: false - empty_zero: false - hide_alter_empty: true - click_sort_column: value - type: telephone_link - settings: - title: '' - group_column: value - group_columns: { } - group_rows: true - delta_limit: 0 - delta_offset: 0 - delta_reversed: false - delta_first_last: false - multi_type: separator - separator: ', ' - field_api_classes: false field_va_health_connect_phone: id: field_va_health_connect_phone table: node__field_va_health_connect_phone @@ -6106,7 +6042,6 @@ display: - user.roles tags: - 'config:field.storage.node.field_administration' - - 'config:field.storage.node.field_mental_health_phone' - 'config:field.storage.node.field_phone_number' - 'config:field.storage.node.field_va_health_connect_phone' - 'config:field.storage.paragraph.field_phone_extension' @@ -6616,69 +6551,6 @@ display: multi_type: separator separator: ', ' field_api_classes: false - field_mental_health_phone: - id: field_mental_health_phone - table: node__field_mental_health_phone - field: field_mental_health_phone - relationship: none - group_type: group - admin_label: '' - plugin_id: field - label: 'Mental Health Phone (old)' - exclude: false - alter: - alter_text: false - text: '' - make_link: false - path: '' - absolute: false - external: false - replace_spaces: false - path_case: none - trim_whitespace: false - alt: '' - rel: '' - link_class: '' - prefix: '' - suffix: '' - target: '' - nl2br: false - max_length: 0 - word_boundary: true - ellipsis: true - more_link: false - more_link_text: '' - more_link_path: '' - strip_tags: false - trim: false - preserve_tags: '' - html: false - element_type: '' - element_class: '' - element_label_type: '' - element_label_class: '' - element_label_colon: true - element_wrapper_type: '' - element_wrapper_class: '' - element_default_classes: true - empty: '' - hide_empty: false - empty_zero: false - hide_alter_empty: true - click_sort_column: value - type: telephone_link - settings: - title: '' - group_column: value - group_columns: { } - group_rows: true - delta_limit: 0 - delta_offset: 0 - delta_reversed: false - delta_first_last: false - multi_type: separator - separator: ', ' - field_api_classes: false field_va_health_connect_phone: id: field_va_health_connect_phone table: node__field_va_health_connect_phone @@ -7157,6 +7029,7 @@ display: content_creator_resources_and_support: '0' office_content_creator: '0' vamc_content_creator: '0' + content_creator_vba: '0' content_creator_vet_center: '0' content_editor: '0' content_reviewer: '0' @@ -7165,6 +7038,10 @@ display: redirect_administrator: '0' admnistrator_users: '0' administrator: '0' + homepage_manager: '0' + next_js: '0' + translation_manager: '0' + rates_editor: '0' placeholder: '' is_grouped: false group_info: @@ -7180,7 +7057,6 @@ display: group_items: { } fields: field_phone_number: field_phone_number - field_mental_health_phone: field_mental_health_phone field_va_health_connect_phone: field_va_health_connect_phone filter_groups: operator: AND @@ -7285,7 +7161,6 @@ display: - user.roles tags: - 'config:field.storage.node.field_administration' - - 'config:field.storage.node.field_mental_health_phone' - 'config:field.storage.node.field_phone_number' - 'config:field.storage.node.field_va_health_connect_phone' - 'config:field.storage.paragraph.field_phone_extension'