-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add missing .prettierrc.json and fix up style
Drupal proscribe (by example and its .prettierrc.json) use of single quotes in YAML files. But nobody told our instance of prettier.
- Loading branch information
Showing
162 changed files
with
699 additions
and
683 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"printWidth": 80, | ||
"semi": true, | ||
"singleQuote": true, | ||
"trailingComma": "all", | ||
"overrides": [ | ||
{ | ||
"files": ["*.css"], | ||
"options": { | ||
"parser": "css", | ||
"printWidth": 10000, | ||
"singleQuote": false | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
type: module | ||
name: "Collation Fixer" | ||
description: "Fix MySQL Collations" | ||
name: 'Collation Fixer' | ||
description: 'Fix MySQL Collations' | ||
core_version_requirement: ^10 |
4 changes: 2 additions & 2 deletions
4
web/modules/custom/collation_fixer/collation_fixer.permissions.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
fix database collation: | ||
title: "Fix database collation" | ||
description: "Performs corrections of database collations." | ||
title: 'Fix database collation' | ||
description: 'Performs corrections of database collations.' |
6 changes: 3 additions & 3 deletions
6
web/modules/custom/collation_fixer/collation_fixer.routing.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
collation_fixer.confirm: | ||
path: "admin/collation-fixer/{table}/confirm" | ||
path: 'admin/collation-fixer/{table}/confirm' | ||
defaults: | ||
_title: "Fix collation" | ||
_title: 'Fix collation' | ||
_form: 'Drupal\collation_fixer\Form\CollationFixerForm' | ||
requirements: | ||
_permission: "fix database collation" | ||
_permission: 'fix database collation' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
dpl_admin.add_content: | ||
title: "Add content" | ||
title: 'Add content' | ||
parent: system.admin_content | ||
route_name: dpl_admin.add_content | ||
weight: 5 | ||
dpl_admin.redirect: | ||
title: "Redirects" | ||
title: 'Redirects' | ||
parent: system.admin | ||
route_name: redirect.list | ||
weight: 10 | ||
dpl_admin.redirect_add: | ||
title: "Add redirect" | ||
title: 'Add redirect' | ||
parent: dpl_admin.redirect | ||
route_name: redirect.add | ||
weight: 1 | ||
dpl_admin.logout: | ||
title: "Logout" | ||
title: 'Logout' | ||
parent: system.admin | ||
route_name: user.logout | ||
weight: 9999 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
dpl_admin.events: | ||
title: "Event series" | ||
title: 'Event series' | ||
route_name: view.event_series_admin.page_1 | ||
base_route: system.admin_content | ||
weight: 10 | ||
|
||
dpl_admin.media: | ||
title: "Media" | ||
title: 'Media' | ||
route_name: view.media_library.page | ||
base_route: system.admin_content | ||
weight: 5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
dpl admin access pages: | ||
title: "Access DPL admin pages" | ||
title: 'Access DPL admin pages' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
dpl_admin.add_content: | ||
path: "/admin/content/add" | ||
path: '/admin/content/add' | ||
defaults: | ||
_controller: '\Drupal\dpl_admin\Controller\AdminPages::addContentPage' | ||
_title: "Add new content" | ||
_title: 'Add new content' | ||
requirements: | ||
_permission: "dpl admin access pages" | ||
_permission: 'dpl admin access pages' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
name: "Article" | ||
name: 'Article' | ||
type: module | ||
description: "Functionality related to creating article content." | ||
package: "DPL" | ||
description: 'Functionality related to creating article content.' | ||
package: 'DPL' | ||
core_version_requirement: ^10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 4 additions & 4 deletions
8
web/modules/custom/dpl_breadcrumb/dpl_breadcrumb.links.menu.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
dpl_breadcrumb.breadcrumb_structure: | ||
title: "Breadcrumb" | ||
title: 'Breadcrumb' | ||
parent: system.admin | ||
route_name: entity.taxonomy_vocabulary.overview_form | ||
route_parameters: { taxonomy_vocabulary: "breadcrumb_structure" } | ||
route_parameters: { taxonomy_vocabulary: 'breadcrumb_structure' } | ||
weight: -8 | ||
dpl_breadcrumb.breadcrumb_structure_add: | ||
title: "Add new" | ||
title: 'Add new' | ||
parent: dpl_breadcrumb.breadcrumb_structure | ||
route_name: entity.taxonomy_term.add_form | ||
route_parameters: { taxonomy_vocabulary: "breadcrumb_structure" } | ||
route_parameters: { taxonomy_vocabulary: 'breadcrumb_structure' } |
14 changes: 7 additions & 7 deletions
14
web/modules/custom/dpl_breadcrumb/dpl_breadcrumb.services.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
services: | ||
dpl_breadcrumb.logger: | ||
parent: logger.channel_base | ||
arguments: ["dpl_breadcrumb"] | ||
arguments: ['dpl_breadcrumb'] | ||
dpl_breadcrumb.breadcrumb_helper: | ||
class: Drupal\dpl_breadcrumb\Services\BreadcrumbHelper | ||
arguments: | ||
[ | ||
"@entity_type.manager", | ||
"@language_manager", | ||
"@pathauto.alias_cleaner", | ||
"@string_translation", | ||
"@dpl_breadcrumb.logger", | ||
'@entity_type.manager', | ||
'@language_manager', | ||
'@pathauto.alias_cleaner', | ||
'@string_translation', | ||
'@dpl_breadcrumb.logger', | ||
] | ||
dpl_breadcrumb.redirect_structure_term: | ||
class: Drupal\dpl_breadcrumb\EventSubscriber\StructureTermRedirect | ||
arguments: ["@dpl_breadcrumb.breadcrumb_helper"] | ||
arguments: ['@dpl_breadcrumb.breadcrumb_helper'] | ||
tags: | ||
- { name: event_subscriber } |
6 changes: 3 additions & 3 deletions
6
web/modules/custom/dpl_cache_settings/dpl_cache_settings.info.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
name: "DPL Cache settings" | ||
name: 'DPL Cache settings' | ||
type: module | ||
description: "Giving admins a clearer access to cache-clearing, and the consequences." | ||
package: "DPL" | ||
description: 'Giving admins a clearer access to cache-clearing, and the consequences.' | ||
package: 'DPL' | ||
core_version_requirement: ^10 |
2 changes: 1 addition & 1 deletion
2
web/modules/custom/dpl_cache_settings/dpl_cache_settings.links.menu.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
dpl_cache_settings.cache_clear: | ||
title: "Clear cache" | ||
title: 'Clear cache' | ||
route_name: dpl_cache_settings.settings_form | ||
parent: system.admin_config_development | ||
weight: 1000 |
8 changes: 4 additions & 4 deletions
8
web/modules/custom/dpl_cache_settings/dpl_cache_settings.permissions.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
access dpl cache settings: | ||
title: "Access DPL cache settings" | ||
description: "This includes permission for clearing caches." | ||
title: 'Access DPL cache settings' | ||
description: 'This includes permission for clearing caches.' | ||
restrict access: TRUE | ||
access drupal performance settings: | ||
title: "Access Drupal performance settings" | ||
description: "A custom permission, to replace the generic basic settings." | ||
title: 'Access Drupal performance settings' | ||
description: 'A custom permission, to replace the generic basic settings.' | ||
restrict access: TRUE |
6 changes: 3 additions & 3 deletions
6
web/modules/custom/dpl_cache_settings/dpl_cache_settings.routing.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
dpl_cache_settings.settings_form: | ||
path: "/admin/dpl/cache_settings" | ||
path: '/admin/dpl/cache_settings' | ||
defaults: | ||
_form: '\Drupal\dpl_cache_settings\Form\CacheSettingsForm' | ||
_title: "Cache settings" | ||
_title: 'Cache settings' | ||
requirements: | ||
_permission: "access dpl cache settings" | ||
_permission: 'access dpl cache settings' |
2 changes: 1 addition & 1 deletion
2
web/modules/custom/dpl_cache_settings/dpl_cache_settings.services.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
web/modules/custom/dpl_config_import/dpl_config_import.links.menu.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
config.sync: | ||
title: "Upload configuration" | ||
description: "Upload and import configuration from a YAML file" | ||
title: 'Upload configuration' | ||
description: 'Upload and import configuration from a YAML file' | ||
route_name: dpl_config_upload.upload_form | ||
parent: system.admin_config_development |
6 changes: 3 additions & 3 deletions
6
web/modules/custom/dpl_config_import/dpl_config_import.routing.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
dpl_config_upload.upload_form: | ||
path: "/admin/config/configuration/import" | ||
path: '/admin/config/configuration/import' | ||
defaults: | ||
_form: 'Drupal\dpl_config_import\Form\UploadForm' | ||
_title: "Upload configuration" | ||
_title: 'Upload configuration' | ||
requirements: | ||
_permission: "import configuration,administer modules" | ||
_permission: 'import configuration,administer modules' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
web/modules/custom/dpl_dashboard/dpl_dashboard.links.menu.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
dpl_dashboard.list: | ||
title: "Dashboard" | ||
title: 'Dashboard' | ||
menu_name: user-profile-menu | ||
route_name: dpl_dashboard.list | ||
description: "User dashboard" | ||
description: 'User dashboard' |
Oops, something went wrong.