Skip to content

Commit

Permalink
OPS-9885 Remove PWA module (#363)
Browse files Browse the repository at this point in the history
* chore: remove pwa

Refs: OPS-9885

* style: cs

Refs: OPS-9885
  • Loading branch information
left23 authored Dec 12, 2023
1 parent 930b430 commit f485258
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 156 deletions.
30 changes: 0 additions & 30 deletions PATCHES/fix-config-form-labels-3395058-01.patch

This file was deleted.

1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,6 @@
"drupal/paragraphs_edit": "^3",
"drupal/paragraphs_modal_edit": "^1.0@alpha",
"drupal/paragraphs_viewmode": "^1.0@alpha",
"drupal/pwa": "^2.1@beta",
"drupal/samples": "^1.0@beta",
"drupal/search_api": "^1.18",
"drupal/select_a11y": "^2",
Expand Down
149 changes: 47 additions & 102 deletions composer.lock

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
Expand Up @@ -4,26 +4,3 @@
* @file
* Customizations to the CD Demo sub-theme.
*/

/**
* Implements hook_pwa_manifest_alter().
*/
function common_design_subtheme_pwa_manifest_alter(&$manifestData) {
// Set short name.
$manifestData['short_name'] = 'CD Demo';

// Set our custom icons.
$theme = \Drupal::theme()->getActiveTheme();
$manifestData['icons'] = [
[
'src' => '/' . $theme->getPath() . '/img/android-chrome-512x512.png',
'sizes' => '512x512',
'type' => 'image/png',
],
[
'src' => '/' . $theme->getPath() . '/img/android-chrome-192x192.png',
'sizes' => '192x192',
'type' => 'image/png',
],
];
}

0 comments on commit f485258

Please sign in to comment.