Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into VACMS-15641-national-…
Browse files Browse the repository at this point in the history
…outreach-checkbox
  • Loading branch information
dsasser committed Oct 23, 2023
2 parents edf7798 + 730211d commit dd8771c
Show file tree
Hide file tree
Showing 4 changed files with 113 additions and 109 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ The VA.gov CMS Team
1. [BRD Environments](READMES/brd.md)
1. [HTTPS](READMES/https.md)
1. [Environment Variables](READMES/environment-variables.md)
1. [Kubernetes](READMES/kubernetes.md)
1. [Kubernetes](READMES/historical/kubernetes.md)
1. [Alerts](READMES/alerts.md)
1. [GitHub Workflows](READMES/github-workflows.md)
1. [Logging into BRD (e.g. production, staging) instances](READMES/brd-login.md)
Expand Down
2 changes: 1 addition & 1 deletion READMES/content-model-centralized-content.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ The target_type and the target_uuid provide the details about where the content
2. Add a "Centralized Content Descriptor" paragraph that provides the Title and Description for the paragraph that you will be creating next. This will only appear as guidance for the editors on the node you are creating.
3. Add a paragraph of any type that you need to appear where this centralized content is used. Make sure this paragraph is sorted to appear immediately below the Centralized Content Descriptor you created in the previous step.
4. Wait for this content to appear in the sanitized database you pull into your sandbox.
5. On your sandbox, in the entity bundle that will be the destination for the centralized content, add a field of type "Entity Field Fetch field". Prefix the field's machine name with "cc_". In the settings for the set the target entity type as "Node" since the content is coming from a Centralized content node. Set the node id and the machine name of the field and the uuid of the paragraph to be fetched. (with Tome gone, we will need a cleaner way to get the paragraph UUID)
5. On your sandbox, in the entity bundle that will be the destination for the centralized content, add a field of type "Entity Field Fetch field". Prefix the field's machine name with "cc_". In the settings for the set the target entity type as "Node" since the content is coming from a Centralized content node. Set the node id and the machine name of the field and the uuid of the paragraph to be fetched. The [PID can be found here](https://prod.cms.va.gov/admin/content/audit/centralized-content-paragraphs).
6. Add a "Tooltip" field group widget on both the "Manage form display" and "Manage display" tab for the entity. Then move your field_cc_ field(s) into the field group.
![Example Tooltip and entity field fetch arrangement](images/fetch-field.png)
7. Save and export your entity configuration as you would for adding any field.
Expand Down
16 changes: 9 additions & 7 deletions composer.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3701,17 +3701,17 @@
},
{
"name": "drupal/content_model_documentation",
"version": "1.0.19",
"version": "1.0.20",
"source": {
"type": "git",
"url": "https://git.drupalcode.org/project/content_model_documentation.git",
"reference": "1.0.19"
"reference": "1.0.20"
},
"dist": {
"type": "zip",
"url": "https://ftp.drupal.org/files/projects/content_model_documentation-1.0.19.zip",
"reference": "1.0.19",
"shasum": "bac03355471ad98736c8894ca63f296a873ce5f9"
"url": "https://ftp.drupal.org/files/projects/content_model_documentation-1.0.20.zip",
"reference": "1.0.20",
"shasum": "99212baab48cfdd16e86143a87ab5caebe099da9"
},
"require": {
"drupal/config_views": "~2.1",
Expand All @@ -3721,8 +3721,8 @@
"type": "drupal-module",
"extra": {
"drupal": {
"version": "1.0.19",
"datestamp": "1696860039",
"version": "1.0.20",
"datestamp": "1697598127",
"security-coverage": {
"status": "covered",
"message": "Covered by Drupal's security advisory policy"
Expand Down Expand Up @@ -27758,11 +27758,13 @@
"drupal/image_style_warmer": 5,
"drupal/jsonapi_resources": 10,
"drupal/libraries": 15,
"drupal/limited_field_widgets": 15,
"drupal/linkit": 5,
"drupal/linky": 10,
"drupal/linkychecker": 10,
"drupal/menu_breadcrumb": 15,
"drupal/message_ui": 10,
"drupal/mimemail": 15,
"drupal/openapi": 5,
"drupal/paragraphs_browser": 15,
"drupal/paragraphs_features": 10,
Expand Down
Loading

0 comments on commit dd8771c

Please sign in to comment.