Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
imonroe committed Jul 9, 2024
1 parent 081f48f commit f6bc0e7
Show file tree
Hide file tree
Showing 16 changed files with 5,328 additions and 230 deletions.
3 changes: 0 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -196,9 +196,6 @@
"drupal/google_analytics": {
"https://www.drupal.org/project/google_analytics/issues/3373921": "https://www.drupal.org/files/issues/2023-08-07/google-analytics-issues-3373921-cannot-install-from-existing-config-11.patch"
},
"drupal/menu_block": {
"https://www.drupal.org/project/menu_block/issues/3271218": "https://www.drupal.org/files/issues/2022-04-29/menu_block_rendered_empty-3271218-17.patch"
},
"drupal/menu_link": {
"https://www.drupal.org/project/menu_link/issues/3358081": "https://git.drupalcode.org/project/menu_link/-/merge_requests/9.patch"
},
Expand Down
15 changes: 15 additions & 0 deletions engineering_profile.install
Original file line number Diff line number Diff line change
Expand Up @@ -698,3 +698,18 @@ function engineering_profile_update_9105() {
\Drupal::database()->truncate($table)->execute();
}
}

/**
* Fix the stanford_profile_helper update issue.
*/
function engineering_profile_update_9106() {
// Use the post_update key-value store
$key_value = \Drupal::keyValue('post_update');
$module_name = 'stanford_profile_helper';
$update_hook = 'stanford_profile_helper_post_update_create_cron';
// Fetch the current value for the module
$current_value = $key_value->get("existing_updates");
$current_value[] = $update_hook;
// Save the updated value back to the key-value store
$key_value->set("existing_updates", $current_value);
}
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v20

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

Original file line number Diff line number Diff line change
@@ -1,2 +1,23 @@
!function(t){var a={};function r(e){if(a[e])return a[e].exports;var n=a[e]={i:e,l:!1,exports:{}};return t[e].call(n.exports,n,n.exports,r),n.l=!0,n.exports}r.m=t,r.c=a,r.d=function(e,n,t){r.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:t})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(n,e){if(1&e&&(n=r(n)),8&e)return n;if(4&e&&"object"==typeof n&&n&&n.__esModule)return n;var t=Object.create(null);if(r.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:n}),2&e&&"string"!=typeof n)for(var a in n)r.d(t,a,function(e){return n[e]}.bind(null,a));return t},r.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(n,"a",n),n},r.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},r.p="",r(r.s=0)}([function(e,n){var a;a=jQuery,Drupal.behaviors.engineeringMagazine={attach:function(e,n){var t=a("#magazine-landing-nav__topics-toggle");t.click(function(){a(".magazine-landing-nav__topics-panel").slideToggle(),"false"==t.attr("aria-expanded")?(t.attr("aria-expanded","true"),t.removeClass("soe-magazine__navigation-rotate-down"),t.addClass("soe-magazine__navigation-rotate-up")):(t.attr("aria-expanded","false"),t.removeClass("soe-magazine__navigation-rotate-up"),t.addClass("soe-magazine__navigation-rotate-down"))})}}}]);
//# sourceMappingURL=engineering_magazine.script.js.map
/******/ (function() { // webpackBootstrap
var __webpack_exports__ = {};
(function ($, Drupal) {
Drupal.behaviors.engineeringMagazine = {
attach: function attach(context, settings) {
var toggleButton = $('#magazine-landing-nav__topics-toggle');
toggleButton.click(function () {
$('.magazine-landing-nav__topics-panel').slideToggle();
if (toggleButton.attr('aria-expanded') == 'false') {
toggleButton.attr('aria-expanded', 'true');
toggleButton.removeClass('soe-magazine__navigation-rotate-down');
toggleButton.addClass('soe-magazine__navigation-rotate-up');
} else {
toggleButton.attr('aria-expanded', 'false');
toggleButton.removeClass('soe-magazine__navigation-rotate-up');
toggleButton.addClass('soe-magazine__navigation-rotate-down');
}
});
}
};
})(jQuery, Drupal);
/******/ })()
;
Loading

0 comments on commit f6bc0e7

Please sign in to comment.