upgraded all cutom modules, themes & profile following upgrade-status
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user