Skip to content

Commit

Permalink
Merge pull request #804 from usagov/dev
Browse files Browse the repository at this point in the history
Sprint 62 release candidate to STAGE
  • Loading branch information
rayestrada authored Jul 1, 2024
2 parents 2a9ef15 + 1f5ad55 commit 607cf6f
Show file tree
Hide file tree
Showing 47 changed files with 820 additions and 434 deletions.
9 changes: 0 additions & 9 deletions config/local/config_split.patch.language.entity.am.yml

This file was deleted.

2 changes: 1 addition & 1 deletion config/sync/field.field.media.image.field_media_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ settings:
max_resolution: ''
min_resolution: ''
alt_field: true
alt_field_required: true
alt_field_required: false
title_field: false
title_field_required: false
default_image:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ settings:
-
value: dark
label: Dark
-
value: homepage
label: Homepage
allowed_values_function: ''
module: options
locked: false
Expand Down
1 change: 0 additions & 1 deletion config/sync/language.entity.am.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ uuid: e2b1707a-dfa8-41af-b86c-c2d0a2116449
langcode: am
status: true
dependencies: { }
third_party_settings: { }
id: am
label: Amharic
direction: ltr
Expand Down
1 change: 1 addition & 0 deletions config/sync/language/pt/language.entity.pt.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: Português
4 changes: 2 additions & 2 deletions config/sync/metatag.metatag_defaults.global.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ tags:
icon_32x32: /themes/custom/votegov/img/favicon/favicon-32x32.ico
icon_96x96: /themes/custom/votegov/img/favicon/favicon-96x96.ico
og_description: '[current-page:metatag:description]'
og_image: /themes/custom/vote_gov/img/ballot-box-OG.png
og_image: /themes/custom/votegov/img/votegov-social.jpg
og_site_name: '[site:name]'
og_title: '[current-page:metatag:title]'
og_type: website
og_url: '[site:url]'
shortcut_icon: /themes/custom/votegov/img/favicon/favicon.ico
title: 'Register to vote | [site:name]'
twitter_cards_description: '[current-page:metatag:description]'
twitter_cards_image: /themes/custom/vote_gov/img/ballot-box-OG.png
twitter_cards_image: /themes/custom/votegov/img/votegov-social.jpg
twitter_cards_site: '@votegov'
twitter_cards_title: '[current-page:metatag:title]'
twitter_cards_type: summary_large_image
56 changes: 28 additions & 28 deletions testing/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions testing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "index.js",
"devDependencies": {
"axe-core": "^4.9.1",
"cypress": "^13.11.0",
"cypress": "^13.12.0",
"cypress-axe": "^1.5.0",
"cypress-mochawesome-reporter": "^3.8.2"
},
Expand Down Expand Up @@ -37,6 +37,6 @@
},
"homepage": "https://github.com/usagov/vote-gov-drupal#readme",
"dependencies": {
"cypress-real-events": "^1.12.0"
"cypress-real-events": "^1.13.0"
}
}
19 changes: 19 additions & 0 deletions web/modules/custom/vote_utility/inc/view_alter.inc
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?php

/**
* @file
* Defines custom view alter hooks.
*/

use Drupal\Core\Entity\Display\EntityViewDisplayInterface;
use Drupal\Core\Entity\EntityInterface;

/**
* Implements hook_taxonomy_term_view_alter().
*/
function vote_utility_taxonomy_term_view_alter(array &$build, EntityInterface $entity, EntityViewDisplayInterface $display) {
if ($entity->bundle() == 'basics_modules' && $display->getMode() == 'default') {
// Disable cache for basics_modules using default display mode.
$build['#cache']['max-age'] = 0;
}
}
1 change: 1 addition & 0 deletions web/modules/custom/vote_utility/vote_utility.module
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@
require_once dirname(__FILE__) . '/inc/block_content_revisions.inc';
require_once dirname(__FILE__) . '/inc/token.inc';
require_once dirname(__FILE__) . '/inc/form_alter.inc';
require_once dirname(__FILE__) . '/inc/view_alter.inc';
Loading

0 comments on commit 607cf6f

Please sign in to comment.