upgraded custom modules D10 compatibility
This commit is contained in:
@@ -23,7 +23,7 @@ function template_preprocess_edlp_chutier_ui(&$vars){
|
||||
$son_url = null;
|
||||
if($son_file){
|
||||
$son_uri = $son_file->getFileUri();
|
||||
$son_url = file_create_url($son_uri);
|
||||
$son_url = \Drupal::service('file_url_generator')->generateAbsoluteString($son_uri);
|
||||
}
|
||||
// get the title
|
||||
$title = $node->getTitle();
|
||||
|
||||
Reference in New Issue
Block a user