Skip to content

Commit

Permalink
Merge pull request #16 from open-y-subprojects/d10
Browse files Browse the repository at this point in the history
feat: codesniffer and rector fixes for Drupal 10
  • Loading branch information
podarok authored May 3, 2023
2 parents c2b845c + d5de97b commit 6d6e858
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
4 changes: 3 additions & 1 deletion modules/openy_demo_nlanding/openy_demo_nlanding.install
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<?php

/**
* @file YMCA Website Services Demo Landing page install file.
* @file
* YMCA Website Services Demo Landing page install file.
*/

/**
Expand Down
5 changes: 2 additions & 3 deletions modules/openy_demo_nlanding/openy_demo_nlanding.module
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ function openy_demo_nlanding_pef_pages() {
'field_prgf_repeat_schedules_ref' => ['plugin_id' => 'repeat_schedules_block'],
'field_prgf_repeat_schedules_pref' => ['target_id' => $locations_node->id()],
'field_prgf_repeat_schedule_excl' => [
[ 'target_id' => $group_exercises_nid ],
['target_id' => $group_exercises_nid],
],
]
);
Expand All @@ -96,7 +96,6 @@ function openy_demo_nlanding_pef_pages() {
$locations_node->field_content->entity = $location_paragraph;
$locations_node->save();


$db = \Drupal::database();
$query = $db->select('menu_link_content_data', 'm');
$query->condition('bundle', 'menu_link_content');
Expand Down Expand Up @@ -434,6 +433,6 @@ function openy_demo_nlanding_af_pages() {
],
'plugin_id_field' => 'field_activity_finder_search_plugin_id',
'config_field' => 'field_activity_finder_search_plugin_configuration',
]
],
]);
}
4 changes: 2 additions & 2 deletions modules/openy_demo_tarea/openy_demo_tarea.install
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
*/

/**
* Add Area taxonomy terms to the sitemap.
*/
* Add Area taxonomy terms to the sitemap.
*/
function openy_demo_tarea_update_8001() {
$config_dir = \Drupal::service('extension.list.module')->getPath('openy_demo_tarea');
$config_dir .= '/config/install/';
Expand Down

0 comments on commit 6d6e858

Please sign in to comment.