upgraded all cutom modules, themes & profile following upgrade-status

This commit is contained in:
2024-08-20 19:47:47 +02:00
parent 38501ecf4d
commit ee271ab4d8
17 changed files with 21 additions and 9 deletions

View File

@@ -31,7 +31,7 @@ function materio_simplenews_form_node_simplenews_issue_form_alter(&$form, &$form
}
function materio_simplenews_getSimplenewsNodeBodyTemplate($news_id){
return file_get_contents(drupal_get_path('module', 'materio_simplenews').'/templates/simplenews_'.$news_id.'_node.html');
return file_get_contents(\Drupal::service('extension.list.module')->getPath('materio_simplenews').'/templates/simplenews_'.$news_id.'_node.html');
}
function materio_simplenews_form_node_simplenews_issue_edit_form_alter(&$form, &$form_state, $form_id) {